no_std_compat::arch::x86_64

Function _xsetbv

1.27.0 · Source
pub unsafe fn _xsetbv(a: u32, val: u64)
Available on x86-64 only.
Expand description

Copies 64-bits from val to the extended control register (XCR) specified by a.

Currently only XFEATURE_ENABLED_MASK XCR is supported.

Intel’s documentation