clang  6.0.0svn
Macros | Functions
fxsrintrin.h File Reference
This graph shows which files directly or indirectly include this file:

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. More...
 
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. More...
 

Macro Definition Documentation

◆ __DEFAULT_FN_ATTRS

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

Definition at line 31 of file fxsrintrin.h.

Referenced by _fxrstor(), and _fxsave().

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 62 of file fxsrintrin.h.

References __DEFAULT_FN_ATTRS, and __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 44 of file fxsrintrin.h.

References __DEFAULT_FN_ATTRS.