Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

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

Document Table of Contents

_xsaveopt()

Saves the states of x87 FPU, MMX, XMM, YMM, and MXCSR registers to memory, optimizing the save operation if possible.

Syntax

extern void _xsaveopt(void *mem, unsigned __int64 save_mask);

Arguments

mem

A memory reference to FXSAVE area. The 512-bytes memory addressed by the reference must be 16-bytes aligned.

save_mask

A bit mask specifying the extended states to be saved.

Description

Saves the states of x87 FPU, MMX, XMM, YMM, and MXCSR registers to memory, optimizing the save operation if possible. This intrinsic maps to XSAVEOPT instruction.