Developer Reference for Intel® Integrated Performance Primitives 2019
Enables or disables denormals-are-zero (DAZ) mode.
IppStatus ippSetDenormAreZeros(int value);
ippcore.h
value |
Switch to set or clear the corresponding bit of the MXCSR register.
|
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.
ippStsNoErr |
Indicates no error. |
ippStsCpuNotSupportedErr |
Indicates an error condition when the DAZ mode is not supported by the processor. |