Package org.lwjgl.util.simd
Class SSE3
- java.lang.Object
-
- org.lwjgl.util.simd.SSE3
-
public class SSE3 extends java.lang.Object
Bindings to SSE3 macros.
-
-
Field Summary
Fields Modifier and Type Field Description static int
_MM_DENORMALS_ZERO_MASK
_MM_DENORMALS_ZERO_OFF
_MM_DENORMALS_ZERO_ONDenormals are zero mode.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
_MM_GET_DENORMALS_ZERO_MODE()
Returns the current value of the "denormals are zero mode" bit of the control register.static void
_MM_SET_DENORMALS_ZERO_MODE(int mode)
Causes the \"denormals are zero\" mode to be turned ON or OFF by setting the appropriate bit of the control register.
-
-
-
Field Detail
-
_MM_DENORMALS_ZERO_MASK, _MM_DENORMALS_ZERO_ON, _MM_DENORMALS_ZERO_OFF
Denormals are zero mode.
-
-
Method Detail
-
_MM_SET_DENORMALS_ZERO_MODE
public static void _MM_SET_DENORMALS_ZERO_MODE(int mode)
Causes the \"denormals are zero\" mode to be turned ON or OFF by setting the appropriate bit of the control register. DAZ treats denormal values used as input to floating-point instructions as zero.DAZ is very similar to FTZ in many ways. DAZ mode is a method of bypassing IEEE 754 methods of dealing with denormal floating-point numbers. This mode is less precise, but much faster and is typically used in applications like streaming media when minute differences in quality are essentially undetectable.
- Parameters:
mode
- the denormals are zero mode. One of:DENORMALS_ZERO_MASK
DENORMALS_ZERO_ON
DENORMALS_ZERO_OFF
-
_MM_GET_DENORMALS_ZERO_MODE
public static int _MM_GET_DENORMALS_ZERO_MODE()
Returns the current value of the "denormals are zero mode" bit of the control register.
-
-