Skip to main content

xcr0_for_features

Function xcr0_for_features 

Source
pub fn xcr0_for_features(features: CpuFeatures) -> u64
Expand description

Compute the XCR0 mask for a given set of allowed features, clamped to what the host actually supports.