_fxrstor in core::arch::x86 - Rust
Description: Restores the `XMM`, `MMX`, `MXCSR`, and `x87` FPU registers from the 512-byte-long 16-byte-aligned memory region `mem_addr`.

## _fxrstor

# Function _fxrstor

1.27.0 · Source

    pub unsafe fn _fxrstor(mem_addr: *const u8)

Available on x86 and target feature `fxsr` only.
Expand description

Restores the `XMM`, `MMX`, `MXCSR`, and `x87` FPU registers from the 512-byte-long 16-byte-aligned memory region `mem_addr`.

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

A misaligned destination operand raises a general-protection (#GP) or an alignment check exception (#AC).

See `FXSAVE` and `FXRSTOR`.

Intel’s documentation