core::arch::x86

Function _fxrstor

1.27.0 · Source
pub unsafe fn _fxrstor(mem_addr: *const u8)
Available on (x86 or x86-64) and target feature fxsr and x86 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