Query processor with CPUID.
REGISTERS structure
Leaf (EAX)
Sub-leaf (ECX)
Typically these tests are done on Pentium 4 and later processors
REGISTERS regs; ddcpuid_id(regs, 0); assert(regs.eax > 0 && regs.eax < 0x4000_0000); ddcpuid_id(regs, 0x8000_0000); assert(regs.eax > 0x8000_0000);
See Implementation
Query processor with CPUID.