core::arch::x86_64::_xsavec - Rust
Description: API documentation for the Rust `_xsavec` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, _xsavec

# 1.27.0[−][src]Function core::arch::x86_64::_xsavec

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

This is supported on x86-64 and target feature `xsave,xsavec` only.

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

`xsavec` differs from `xsave` in that it uses compaction and that it may use init 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