class Features

Defined at line 101 of file ../../zircon/kernel/arch/x86/cpuid/include/arch/x86/cpuid.h

Extracts feature flags from EAX=1 call and extended feature flags calls.

See docs for full listing of possible features, this class is not

comprehensive, things are added as they are required.

The most recent Intel CPUID bit assignments are in the

"IntelĀ® Architecture Instruction Set Extensions and Future Features Programming Reference",

https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf

Public Members

static Feature FPU
static Feature VME
static Feature DE
static Feature PSE
static Feature TSC
static Feature MSR
static Feature PAE
static Feature MCE
static Feature CX8
static Feature APIC
static Feature SEP
static Feature MTRR
static Feature PGE
static Feature MCA
static Feature CMOV
static Feature PAT
static Feature PSE36
static Feature PSN
static Feature CLFSH
static Feature DS
static Feature ACPI
static Feature MMX
static Feature FXSR
static Feature SSE
static Feature SSE2
static Feature SS
static Feature HTT
static Feature TM
static Feature PBE
static Feature SSE3
static Feature PCLMULQDQ
static Feature DTES64
static Feature MONITOR
static Feature DS_CPL
static Feature VMX
static Feature SMX
static Feature EST
static Feature TM2
static Feature SSSE3
static Feature CNXT_ID
static Feature SDBG
static Feature FMA
static Feature CX16
static Feature XTPR
static Feature PDCM
static Feature PCID
static Feature DCA
static Feature SSE4_1
static Feature SSE4_2
static Feature X2APIC
static Feature MOVBE
static Feature POPCNT
static Feature TSC_DEADLINE
static Feature AES
static Feature XSAVE
static Feature OSXSAVE
static Feature AVX
static Feature F16C
static Feature RDRAND
static Feature TURBO
static Feature HWP
static Feature HWP_PREF
static Feature HWP_PKG
static Feature HWP_REQ_FAST
static Feature MPERFAPERF
static Feature EPB
static Feature FSGSBASE
static Feature SGX
static Feature BMI1
static Feature HLE
static Feature AVX2
static Feature SMEP
static Feature BMI2
static Feature ERMS
static Feature INVPCID
static Feature RTM
static Feature PQM
static Feature PQE
static Feature AVX512F
static Feature AVX512DQ
static Feature RDSEED
static Feature ADX
static Feature SMAP
static Feature AVX512IFMA
static Feature CLWB
static Feature INTEL_PT
static Feature AVX512PF
static Feature AVX512ER
static Feature AVX512CD
static Feature SHA
static Feature AVX512BW
static Feature AVX512VL
static Feature PREFETCHWT1
static Feature AVX512VBMI
static Feature UMIP
static Feature PKU
static Feature AVX512VBMI2
static Feature GFNI
static Feature VAES
static Feature VPCLMULQDQ
static Feature AVX512VNNI
static Feature AVX512BITALG
static Feature AVX512VPOPCNTDQ
static Feature RDPID
static Feature AVX512_4VNNIW
static Feature AVX512_4FMAPS
static Feature MD_CLEAR
static Feature CLFLUSH
static Feature ARCH_CAPABILITIES
static Feature LAHF
static Feature RDTSCP
static Feature PDPE1GB
static Feature XD
static Feature SYSCALL
static Feature CPB

Public Methods

void Features (Registers leaf1, Registers leaf6, Registers leaf7, Registers leaf8_01, Registers leaf8_07)

Defined at line 112 of file ../../zircon/kernel/arch/x86/cpuid/cpuid.cc

uint8_t max_logical_processors_in_package ()

Returns the maximum supported logical processors in a physical package.

This is NOT that same as the number of logical processors present.

Defined at line 116 of file ../../zircon/kernel/arch/x86/cpuid/cpuid.cc

bool HasFeature (Feature feature)

Defined at line 242 of file ../../zircon/kernel/arch/x86/cpuid/include/arch/x86/cpuid.h

Enumerations

enum LeafIndex
Name Value
LEAF1 0
LEAF6 1
LEAF7 2
LEAF8_01 3
LEAF8_07 4
INVALID_SET 254

Defined at line 103 of file ../../zircon/kernel/arch/x86/cpuid/include/arch/x86/cpuid.h

Records