Class SSE3

java.lang.Object
org.lwjgl.util.simd.SSE3

public class SSE3 extends Object
Bindings to SSE3 macros.
  • Field Details

    • _MM_DENORMALS_ZERO_MASK

      public static final int _MM_DENORMALS_ZERO_MASK
      Denormals are zero mode.
      See Also:
    • _MM_DENORMALS_ZERO_ON

      public static final int _MM_DENORMALS_ZERO_ON
      Denormals are zero mode.
      See Also:
    • _MM_DENORMALS_ZERO_OFF

      public static final int _MM_DENORMALS_ZERO_OFF
      Denormals 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_MASKDENORMALS_ZERO_ONDENORMALS_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.