clang 19.0.0git
Macros | Functions
fxsrintrin.h File Reference

Go to the source code of this file.

Macros

#define __DEFAULT_FN_ATTRS   __attribute__((__always_inline__, __nodebug__, __target__("fxsr")))
 

Functions

static __inline__ void __DEFAULT_FN_ATTRS _fxsave (void *__p)
 Saves the XMM, MMX, MXCSR and x87 FPU registers into a 512-byte memory region pointed to by the input parameter __p.
 
static __inline__ void __DEFAULT_FN_ATTRS _fxrstor (void *__p)
 Restores the XMM, MMX, MXCSR and x87 FPU registers from the 512-byte memory region pointed to by the input parameter __p.
 

Macro Definition Documentation

◆ __DEFAULT_FN_ATTRS

#define __DEFAULT_FN_ATTRS   __attribute__((__always_inline__, __nodebug__, __target__("fxsr")))

Definition at line 17 of file fxsrintrin.h.

Function Documentation

◆ _fxrstor()

static __inline__ void __DEFAULT_FN_ATTRS _fxrstor ( void *  __p)
static

Restores the XMM, MMX, MXCSR and x87 FPU registers from the 512-byte memory region pointed to by the input parameter __p.

The contents of this memory region should have been written to by a previous _fxsave or _fxsave64 intrinsic.

This intrinsic corresponds to the FXRSTOR instruction.

Parameters
__pA pointer to a 512-byte memory region. The beginning of this memory region should be aligned on a 16-byte boundary.

Definition at line 48 of file fxsrintrin.h.

References __p.

◆ _fxsave()

static __inline__ void __DEFAULT_FN_ATTRS _fxsave ( void *  __p)
static

Saves the XMM, MMX, MXCSR and x87 FPU registers into a 512-byte memory region pointed to by the input parameter __p.

This intrinsic corresponds to the FXSAVE instruction.

Parameters
__pA pointer to a 512-byte memory region. The beginning of this memory region should be aligned on a 16-byte boundary.

Definition at line 30 of file fxsrintrin.h.

References __p.