Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

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.
  • When
    value
    is not equal to zero, denormals-are-zero (DAZ) mode is enabled
  • When
    value
    is set to zero, DAZ mode is disabled
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.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804