Function core::arch::x86_64::_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-64 only.
Expand description

将已启用的处理器状态全部或部分保存到 mem_addr 的内存中。

根据 save_mask 和 XCR0 中的 [62:0] 位保存状态。 mem_addr 必须在 64 字节边界上对齐。

XSAVE 区域的格式在英特尔 ® 64 和 IA-32 架构软件开发人员手册卷的 13.4 节 XSAVE 区域 中有详细说明 1.

Intel’s documentation