Struct raw_cpuid::FeatureInfo
[−]
[src]
pub struct FeatureInfo { // some fields omitted }
Methods
impl FeatureInfo
[src]
fn extended_family_id(&self) -> u8
Version Information: Extended Family
fn extended_model_id(&self) -> u8
Version Information: Extended Model
fn family_id(&self) -> u8
Version Information: Family
fn model_id(&self) -> u8
Version Information: Model
fn stepping_id(&self) -> u8
Version Information: Stepping ID
fn brand_index(&self) -> u8
Brand Index
fn cflush_cache_line_size(&self) -> u8
CLFLUSH line size (Value ∗ 8 = cache line size in bytes)
fn initial_local_apic_id(&self) -> u8
Initial APIC ID
fn max_logical_processor_ids(&self) -> u8
Maximum number of addressable IDs for logical processors in this physical package.
fn has_sse3(&self) -> bool
Streaming SIMD Extensions 3 (SSE3). A value of 1 indicates the processor supports this technology.
fn has_pclmulqdq(&self) -> bool
PCLMULQDQ. A value of 1 indicates the processor supports the PCLMULQDQ instruction
fn has_ds_area(&self) -> bool
64-bit DS Area. A value of 1 indicates the processor supports DS area using 64-bit layout
fn has_monitor_mwait(&self) -> bool
MONITOR/MWAIT. A value of 1 indicates the processor supports this feature.
fn has_cpl(&self) -> bool
CPL Qualified Debug Store. A value of 1 indicates the processor supports the extensions to the Debug Store feature to allow for branch message storage qualified by CPL.
fn has_vmx(&self) -> bool
Virtual Machine Extensions. A value of 1 indicates that the processor supports this technology.
fn has_smx(&self) -> bool
Safer Mode Extensions. A value of 1 indicates that the processor supports this technology. See Chapter 5, Safer Mode Extensions Reference.
fn has_eist(&self) -> bool
Enhanced Intel SpeedStep® technology. A value of 1 indicates that the processor supports this technology.
fn has_tm2(&self) -> bool
Thermal Monitor 2. A value of 1 indicates whether the processor supports this technology.
fn has_ssse3(&self) -> bool
A value of 1 indicates the presence of the Supplemental Streaming SIMD Extensions 3 (SSSE3). A value of 0 indicates the instruction extensions are not present in the processor
fn has_cnxtid(&self) -> bool
L1 Context ID. A value of 1 indicates the L1 data cache mode can be set to either adaptive mode or shared mode. A value of 0 indicates this feature is not supported. See definition of the IA32_MISC_ENABLE MSR Bit 24 (L1 Data Cache Context Mode) for details.
fn has_fma(&self) -> bool
A value of 1 indicates the processor supports FMA extensions using YMM state.
fn has_cmpxchg16b(&self) -> bool
CMPXCHG16B Available. A value of 1 indicates that the feature is available. See the CMPXCHG8B/CMPXCHG16B Compare and Exchange Bytes section. 14
fn has_pdcm(&self) -> bool
Perfmon and Debug Capability: A value of 1 indicates the processor supports the performance and debug feature indication MSR IA32_PERF_CAPABILITIES.
fn has_pcid(&self) -> bool
Process-context identifiers. A value of 1 indicates that the processor supports PCIDs and the software may set CR4.PCIDE to 1.
fn has_dca(&self) -> bool
A value of 1 indicates the processor supports the ability to prefetch data from a memory mapped device.
fn has_sse41(&self) -> bool
A value of 1 indicates that the processor supports SSE4.1.
fn has_sse42(&self) -> bool
A value of 1 indicates that the processor supports SSE4.2.
fn has_x2apic(&self) -> bool
A value of 1 indicates that the processor supports x2APIC feature.
fn has_movbe(&self) -> bool
A value of 1 indicates that the processor supports MOVBE instruction.
fn has_popcnt(&self) -> bool
A value of 1 indicates that the processor supports the POPCNT instruction.
fn has_tsc_deadline(&self) -> bool
A value of 1 indicates that the processors local APIC timer supports one-shot operation using a TSC deadline value.
fn has_aesni(&self) -> bool
A value of 1 indicates that the processor supports the AESNI instruction extensions.
fn has_xsave(&self) -> bool
A value of 1 indicates that the processor supports the XSAVE/XRSTOR processor extended states feature, the XSETBV/XGETBV instructions, and XCR0.
fn has_oxsave(&self) -> bool
A value of 1 indicates that the OS has enabled XSETBV/XGETBV instructions to access XCR0, and support for processor extended state management using XSAVE/XRSTOR.
fn has_avx(&self) -> bool
A value of 1 indicates the processor supports the AVX instruction extensions.
fn has_f16c(&self) -> bool
A value of 1 indicates that processor supports 16-bit floating-point conversion instructions.
fn has_rdrand(&self) -> bool
A value of 1 indicates that processor supports RDRAND instruction.
fn has_fpu(&self) -> bool
Floating Point Unit On-Chip. The processor contains an x87 FPU.
fn has_vme(&self) -> bool
Virtual 8086 Mode Enhancements. Virtual 8086 mode enhancements, including CR4.VME for controlling the feature, CR4.PVI for protected mode virtual interrupts, software interrupt indirection, expansion of the TSS with the software indirection bitmap, and EFLAGS.VIF and EFLAGS.VIP flags.
fn has_de(&self) -> bool
Debugging Extensions. Support for I/O breakpoints, including CR4.DE for controlling the feature, and optional trapping of accesses to DR4 and DR5.
fn has_pse(&self) -> bool
Page Size Extension. Large pages of size 4 MByte are supported, including CR4.PSE for controlling the feature, the defined dirty bit in PDE (Page Directory Entries), optional reserved bit trapping in CR3, PDEs, and PTEs.
fn has_tsc(&self) -> bool
Time Stamp Counter. The RDTSC instruction is supported, including CR4.TSD for controlling privilege.
fn has_msr(&self) -> bool
Model Specific Registers RDMSR and WRMSR Instructions. The RDMSR and WRMSR instructions are supported. Some of the MSRs are implementation dependent.
fn has_pae(&self) -> bool
Physical Address Extension. Physical addresses greater than 32 bits are supported: extended page table entry formats, an extra level in the page translation tables is defined, 2-MByte pages are supported instead of 4 Mbyte pages if PAE bit is 1.
fn has_mce(&self) -> bool
Machine Check Exception. Exception 18 is defined for Machine Checks, including CR4.MCE for controlling the feature. This feature does not define the model-specific implementations of machine-check error logging, reporting, and processor shutdowns. Machine Check exception handlers may have to depend on processor version to do model specific processing of the exception, or test for the presence of the Machine Check feature.
fn has_cmpxchg8b(&self) -> bool
CMPXCHG8B Instruction. The compare-and-exchange 8 bytes (64 bits) instruction is supported (implicitly locked and atomic).
fn has_apic(&self) -> bool
APIC On-Chip. The processor contains an Advanced Programmable Interrupt Controller (APIC), responding to memory mapped commands in the physical address range FFFE0000H to FFFE0FFFH (by default - some processors permit the APIC to be relocated).
fn has_sysenter_sysexit(&self) -> bool
SYSENTER and SYSEXIT Instructions. The SYSENTER and SYSEXIT and associated MSRs are supported.
fn has_mtrr(&self) -> bool
Memory Type Range Registers. MTRRs are supported. The MTRRcap MSR contains feature bits that describe what memory types are supported, how many variable MTRRs are supported, and whether fixed MTRRs are supported.
fn has_pge(&self) -> bool
Page Global Bit. The global bit is supported in paging-structure entries that map a page, indicating TLB entries that are common to different processes and need not be flushed. The CR4.PGE bit controls this feature.
fn has_mca(&self) -> bool
Machine Check Architecture. The Machine Check Architecture, which provides a compatible mechanism for error reporting in P6 family, Pentium 4, Intel Xeon processors, and future processors, is supported. The MCG_CAP MSR contains feature bits describing how many banks of error reporting MSRs are supported.
fn has_cmov(&self) -> bool
Conditional Move Instructions. The conditional move instruction CMOV is supported. In addition, if x87 FPU is present as indicated by the CPUID.FPU feature bit, then the FCOMI and FCMOV instructions are supported
fn has_pat(&self) -> bool
Page Attribute Table. Page Attribute Table is supported. This feature augments the Memory Type Range Registers (MTRRs), allowing an operating system to specify attributes of memory accessed through a linear address on a 4KB granularity.
fn has_pse36(&self) -> bool
36-Bit Page Size Extension. 4-MByte pages addressing physical memory beyond 4 GBytes are supported with 32-bit paging. This feature indicates that upper bits of the physical address of a 4-MByte page are encoded in bits 20:13 of the page-directory entry. Such physical addresses are limited by MAXPHYADDR and may be up to 40 bits in size.
fn has_psn(&self) -> bool
Processor Serial Number. The processor supports the 96-bit processor identification number feature and the feature is enabled.
fn has_clflush(&self) -> bool
CLFLUSH Instruction. CLFLUSH Instruction is supported.
fn has_ds(&self) -> bool
Debug Store. The processor supports the ability to write debug information into a memory resident buffer. This feature is used by the branch trace store (BTS) and precise event-based sampling (PEBS) facilities (see Chapter 23, Introduction to Virtual-Machine Extensions, in the Intel® 64 and IA-32 Architectures Software Developers Manual, Volume 3C).
fn has_acpi(&self) -> bool
Thermal Monitor and Software Controlled Clock Facilities. The processor implements internal MSRs that allow processor temperature to be monitored and processor performance to be modulated in predefined duty cycles under software control.
fn has_mmx(&self) -> bool
Intel MMX Technology. The processor supports the Intel MMX technology.
fn has_fxsave_fxstor(&self) -> bool
FXSAVE and FXRSTOR Instructions. The FXSAVE and FXRSTOR instructions are supported for fast save and restore of the floating point context. Presence of this bit also indicates that CR4.OSFXSR is available for an operating system to indicate that it supports the FXSAVE and FXRSTOR instructions.
fn has_sse(&self) -> bool
SSE. The processor supports the SSE extensions.
fn has_sse2(&self) -> bool
SSE2. The processor supports the SSE2 extensions.
fn has_ss(&self) -> bool
Self Snoop. The processor supports the management of conflicting memory types by performing a snoop of its own cache structure for transactions issued to the bus.
fn has_htt(&self) -> bool
Max APIC IDs reserved field is Valid. A value of 0 for HTT indicates there is only a single logical processor in the package and software should assume only a single APIC ID is reserved. A value of 1 for HTT indicates the value in CPUID.1.EBX23:16 is valid for the package.
fn has_tm(&self) -> bool
Thermal Monitor. The processor implements the thermal monitor automatic thermal control circuitry (TCC).
fn has_pbe(&self) -> bool
Pending Break Enable. The processor supports the use of the FERR#/PBE# pin when the processor is in the stop-clock state (STPCLK# is asserted) to signal the processor that an interrupt is pending and that the processor should return to normal operation to handle the interrupt. Bit 10 (PBE enable) in the IA32_MISC_ENABLE MSR enables this capability.