Struct raw_cpuid::ExtendedStateInfo [] [src]

pub struct ExtendedStateInfo {
    // some fields omitted
}

Methods

impl ExtendedStateInfo
[src]

fn xcr0_supported(&self) -> u64

Reports the valid bit fields of XCR0. If a bit is 0, the corresponding bit field in XCR0 is reserved.

fn has_legacy_x87(&self) -> bool

Legacy x87.

fn has_sse_128(&self) -> bool

SSE 128-bit.

fn has_avx_256(&self) -> bool

AVX 256-bit.

fn has_mpx(&self) -> bool

MPX.

fn has_avx_512(&self) -> bool

AVX 512-bit.

fn has_ia32_xss(&self) -> bool

IA32_XSS.

fn has_pkru(&self) -> bool

PKRU.

fn maximum_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.

fn maximum_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.

fn has_xsaveopt(&self) -> bool

CPU has xsaveopt feature.

fn has_xsavec(&self) -> bool

Supports XSAVEC and the compacted form of XRSTOR if set.

fn has_xgetbv(&self) -> bool

Supports XGETBV with ECX = 1 if set.

fn has_xsaves_xrstors(&self) -> bool

Supports XSAVES/XRSTORS and IA32_XSS if set.

fn iter(&self) -> ExtendedStateIter

Iterator over extended state enumeration levels >= 2.

Trait Implementations

impl Debug for ExtendedStateInfo
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.