Function _xsetbv

#[target_feature(enable = "xsave")]
pub unsafe fn _xsetbv(a: u32, val: u64)

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