Visible to Intel only — GUID: GUID-D4A48E0B-D89B-4EEC-95B6-53E336FD42A2
Visible to Intel only — GUID: GUID-D4A48E0B-D89B-4EEC-95B6-53E336FD42A2
SetDenormAreZeros
Enables or disables denormals-are-zero (DAZ) mode.
Syntax
IppStatus ippSetDenormAreZeros(int value);
Include Files
ippcore.h
Parameters
value |
Switch to set or clear the corresponding bit of the MXCSR register.
|
Description
This function enables the DAZ mode for processors that support Intel® Streaming SIMD Extensions instructions. The DAZ mode controls the processor response to a SIMD floating-point denormal operand condition. When the DAZ flag is set, the processor converts all denormal source operands to zero with the sign of the original operand before performing any computations on source data. Use this function to improve processor performance of applications such as streaming media processing, where rounding a denormal operand to zero does not noticeably affect the quality of the processed data.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsCpuNotSupportedErr |
Indicates an error condition when the DAZ mode is not supported by the processor. |