Function _xgetbv

#[target_feature(enable = "xsave")]
pub unsafe fn _xgetbv(xcr_no: u32) -> u64

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

Intel's documentation