Struct raw_cpuid::ExtendedStateInfo
source · pub struct ExtendedStateInfo { /* private fields */ }
Expand description
Implementations§
source§impl ExtendedStateInfo
impl ExtendedStateInfo
sourcepub fn xcr0_supports_legacy_x87(&self) -> bool
pub fn xcr0_supports_legacy_x87(&self) -> bool
Support for legacy x87 in XCR0.
sourcepub fn xcr0_supports_sse_128(&self) -> bool
pub fn xcr0_supports_sse_128(&self) -> bool
Support for SSE 128-bit in XCR0.
sourcepub fn xcr0_supports_avx_256(&self) -> bool
pub fn xcr0_supports_avx_256(&self) -> bool
Support for AVX 256-bit in XCR0.
sourcepub fn xcr0_supports_mpx_bndregs(&self) -> bool
pub fn xcr0_supports_mpx_bndregs(&self) -> bool
Support for MPX BNDREGS in XCR0.
sourcepub fn xcr0_supports_mpx_bndcsr(&self) -> bool
pub fn xcr0_supports_mpx_bndcsr(&self) -> bool
Support for MPX BNDCSR in XCR0.
sourcepub fn xcr0_supports_avx512_opmask(&self) -> bool
pub fn xcr0_supports_avx512_opmask(&self) -> bool
Support for AVX512 OPMASK in XCR0.
sourcepub fn xcr0_supports_avx512_zmm_hi256(&self) -> bool
pub fn xcr0_supports_avx512_zmm_hi256(&self) -> bool
Support for AVX512 ZMM Hi256 XCR0.
sourcepub fn xcr0_supports_avx512_zmm_hi16(&self) -> bool
pub fn xcr0_supports_avx512_zmm_hi16(&self) -> bool
Support for AVX512 ZMM Hi16 in XCR0.
sourcepub fn xcr0_supports_pkru(&self) -> bool
pub fn xcr0_supports_pkru(&self) -> bool
Support for PKRU in XCR0.
sourcepub fn ia32_xss_supports_pt(&self) -> bool
pub fn ia32_xss_supports_pt(&self) -> bool
Support for PT in IA32_XSS.
sourcepub fn ia32_xss_supports_hdc(&self) -> bool
pub fn ia32_xss_supports_hdc(&self) -> bool
Support for HDC in IA32_XSS.
sourcepub fn xsave_area_size_enabled_features(&self) -> u32
pub fn xsave_area_size_enabled_features(&self) -> u32
Maximum size (bytes, from the beginning of the XSAVE/XRSTOR save area) required by enabled features in XCR0. May be different than ECX if some features at the end of the XSAVE save area are not enabled.
sourcepub fn xsave_area_size_supported_features(&self) -> u32
pub fn xsave_area_size_supported_features(&self) -> u32
Maximum size (bytes, from the beginning of the XSAVE/XRSTOR save area) of the XSAVE/XRSTOR save area required by all supported features in the processor, i.e all the valid bit fields in XCR0.
sourcepub fn has_xsaveopt(&self) -> bool
pub fn has_xsaveopt(&self) -> bool
CPU has xsaveopt feature.
sourcepub fn has_xsavec(&self) -> bool
pub fn has_xsavec(&self) -> bool
Supports XSAVEC and the compacted form of XRSTOR if set.
sourcepub fn has_xgetbv(&self) -> bool
pub fn has_xgetbv(&self) -> bool
Supports XGETBV with ECX = 1 if set.
sourcepub fn has_xsaves_xrstors(&self) -> bool
pub fn has_xsaves_xrstors(&self) -> bool
Supports XSAVES/XRSTORS and IA32_XSS if set.
sourcepub fn xsave_size(&self) -> u32
pub fn xsave_size(&self) -> u32
The size in bytes of the XSAVE area containing all states enabled by XCRO | IA32_XSS.
sourcepub fn iter(&self) -> ExtendedStateIter ⓘ
pub fn iter(&self) -> ExtendedStateIter ⓘ
Iterator over extended state enumeration levels >= 2.