core::arch::x86

Function _xsetbv

1.27.0 · source
pub unsafe fn _xsetbv(a: u32, val: u64)
Available on (x86 or x86-64) and target feature xsave and x86 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