Function core::arch::x86::_xsave

1.27.0 · source ·
pub unsafe fn _xsave(mem_addr: *mut u8, save_mask: u64)
Available on (x86 or x86-64) and target feature xsave and x86 only.
Expand description

Performs a full or partial save of the enabled processor states to memory at mem_addr.

State is saved based on bits [62:0] in save_mask and XCR0. mem_addr must be aligned on a 64-byte boundary.

The format of the XSAVE area is detailed in Section 13.4, “XSAVE Area,” of Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 1.

Intel’s documentation