# _fxsave()

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

## Syntax

extern void _fxsave(void *mem);

## Arguments

mem

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

## Description

Saves the states of x87 FPU, MMX, XMM, and MXCSR registers to memory. This intrinsic maps to FXSAVE instruction.

Parent topic: Intrinsics for Saving and Restoring the Extended Processor States