Package org.lwjgl.util.simd
Class SSE3
java.lang.Object
org.lwjgl.util.simd.SSE3
Bindings to SSE3 macros.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Denormals are zero mode.static final int
Denormals are zero mode.static final int
Denormals are zero mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic int
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 Details
-
_MM_DENORMALS_ZERO_MASK
public static final int _MM_DENORMALS_ZERO_MASKDenormals are zero mode.- See Also:
-
_MM_DENORMALS_ZERO_ON
public static final int _MM_DENORMALS_ZERO_ONDenormals are zero mode.- See Also:
-
_MM_DENORMALS_ZERO_OFF
public static final int _MM_DENORMALS_ZERO_OFFDenormals are zero mode.- See Also:
-
-
Method Details
-
_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.
-