# Function core::arch::x86::_xsaves 1.27.0[−][src]

    pub unsafe fn _xsaves(mem_addr: *mut u8, save_mask: u64)

This is supported on x86 and target feature `xsave,xsaves` only.

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

`xsaves` differs from xsave in that it can save state components corresponding to bits set in `IA32_XSS` `MSR` and that it may use the modified optimization. State is saved based on bits `[62:0]` in `save_mask` and `XCR0`. `mem_addr` must be aligned on a 64-byte boundary.

Intel's documentation