Available on x86 or x86-64 only.
Expand description
Processor feature detection with CPUID.
Structs§
- Address
Space Sizes  - Indicates the processor’s maximum supported physical and virtual address sizes.
 - Basic
Features  - Primary feature list returned in 
CPUID.01H:ECX+EDX. - Extended
Features  - Features applicable to 64-bit processors, returned in 
CPUID.80000000H:ECX+EDX. 
Functions§
- cpuid
 - Low-level CPUID call. Writes the leaf/subleaf index given in the arguments to EAX/ECX and returns the values written to EAX–EDX.
 - max_
cpuid_ index_ basic  - Get the maximum primary index value (EAX) supported for basic CPUID calls by this
processor (below 
0x8000_0000). - max_
cpuid_ index_ extended  - Get the maximum primary index value (EAX) supported for extended CPUID calls by this
processor (above 
0x8000_0000).