Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Visible to Intel only — GUID: GUID-5A5D7785-CB86-4E5A-8D08-3BC54745C42F

Document Table of Contents

Macro Functions

The macro function intrinsics listed here were designed for the Intel® Pentium® 4 processor with Streaming SIMD Extensions 3 (Intel® SSE3). They are also compatible with Streaming SIMD Extensions 2 (Intel® SSE2).

The prototypes for these intrinsics are in the emmintrin.h header file.

To use these intrinsics, include the immintrin.h file as follows:

#include <immintrin.h>

_MM_SET_DENORMALS_ZERO_MODE

_MM_SET_DENORMALS_ZERO_MODE(x);

Macro arguments: either _MM_DENORMALS_ZERO_ON, _MM_DENORMALS_ZERO_OFF.

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

_MM_GET_DENORMALS_ZERO_MODE

_MM_GET_DENORMALS_ZERO_MODE();

No arguments.

This macro returns the current value of the denormals are zero mode bit of the control register.