Class SSE



  • public class SSE
    extends java.lang.Object
    Bindings to SSE macros.
    • Method Detail

      • _MM_GET_EXCEPTION_STATE

        public static int _MM_GET_EXCEPTION_STATE()
        Returns the exception state bits from the MXCSR control and status register.
      • _MM_GET_EXCEPTION_MASK

        public static int _MM_GET_EXCEPTION_MASK()
        Returns the exception mask bits from the MXCSR control and status register.
      • _MM_GET_ROUNDING_MODE

        public static int _MM_GET_ROUNDING_MODE()
        Returns the rounding mode bits from the MXCSR control and status register.
      • _MM_SET_FLUSH_ZERO_MODE

        public static void _MM_SET_FLUSH_ZERO_MODE(int mode)
        Sets the flush zero bits of the MXCSR control and status register. FTZ sets denormal results from floating-point calculations to zero.

        FTZ is a method of bypassing IEEE 754 methods of dealing with invalid floating-point numbers due to underflows. This mode is less precise, but much faster.

        Parameters:
        mode - the flush-to-zero mode. One of:
        FLUSH_ZERO_MASKFLUSH_ZERO_ONFLUSH_ZERO_OFF
      • _MM_GET_FLUSH_ZERO_MODE

        public static int _MM_GET_FLUSH_ZERO_MODE()
        Returns the flush zero bits from the MXCSR control and status register.