Top Description Fields Constructors Methods
org.lwjgl.util.simd

public Class SSE3

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Bindings to SSE3 macros.

Field Summary

Modifier and TypeField and Description
public static final int
_MM_DENORMALS_ZERO_MASK

Denormals are zero mode.

public static final int
_MM_DENORMALS_ZERO_OFF

Denormals are zero mode.

public static final int
_MM_DENORMALS_ZERO_ON

Denormals are zero mode.

Constructor Summary

AccessConstructor and Description
protected
SSE3()

Method Summary

Modifier and TypeMethod and Description
public static native int
_MM_GET_DENORMALS_ZERO_MODE()

Returns the current value of the "denormals are zero mode" bit of the control register.

public static native void
_MM_SET_DENORMALS_ZERO_MODE(int
the denormals are zero mode. One of:
DENORMALS_ZERO_MASKDENORMALS_ZERO_ONDENORMALS_ZERO_OFF
mode
)

Causes the \"denormals are zero\" mode to be turned ON or OFF by setting the appropriate bit of the control register.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_MM_DENORMALS_ZERO_MASKback to summary
public static final int _MM_DENORMALS_ZERO_MASK

Denormals are zero mode.

_MM_DENORMALS_ZERO_OFFback to summary
public static final int _MM_DENORMALS_ZERO_OFF

Denormals are zero mode.

_MM_DENORMALS_ZERO_ONback to summary
public static final int _MM_DENORMALS_ZERO_ON

Denormals are zero mode.

Constructor Detail

SSE3back to summary
protected SSE3()

Method Detail

_MM_GET_DENORMALS_ZERO_MODEback to summary
public static native int _MM_GET_DENORMALS_ZERO_MODE()

Returns the current value of the "denormals are zero mode" bit of the control register.

Annotations
@NativeType:unsigned int
_MM_SET_DENORMALS_ZERO_MODEback to summary
public static native 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:int

the denormals are zero mode. One of:

DENORMALS_ZERO_MASKDENORMALS_ZERO_ONDENORMALS_ZERO_OFF