Developer Guide and Reference

Contents

_xsave64()/ _xsavec64()/ _xsaves64()

Saves the states of x87 FPU, MMX, XMM, YMM, and MXCSR registers to memory.

Syntax

extern void _xsave64(void *mem, unsigned __int64 save_mask);
extern void _xsavec64(void *mem, unsigned __int64 save_mask);
extern void _xsaves64(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. The
xsave64
intrinsic maps to
XSAVE64
instruction, the
xsavec64
intrinsic maps to
XSAVEC64
instruction, and the
xsaves64
intrinsic maps to
XSAVES64
instruction. See the Intel® 64 and IA-32 Architectures Software Developer's Manual for information on how the three instructions differ.

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