core::arch::x86

Function _xgetbv

1.27.0 · Source
pub unsafe fn _xgetbv(xcr_no: u32) -> u64
Available on (x86 or x86-64) and target feature xsave and x86 only.
Expand description

Reads the contents of the extended control register XCR specified in xcr_no.

Intel’s documentation