www.national.com
214
Revision 1.2
Instruction Set (
Continued
)
G
7.2.2
Testing for extended CPUID instruction support can be
accomplished by executing a CPUID instruction with the
EAX register initialized to 80000000h. If a value greater
than or equal to 8000 0000h is returned to the EAX regis-
ter by the CPUID instruction, the processor supports
extended CPUID levels.
Extended CPUID Levels
7.2.2.1
Extended function 8000 0000h (EAX = 80000000h) of the
CPUID instruction returns the maximum extended CPUID
levels supported by the current processor in EAX (Table 7-
21). The EBX, ECX, and EDX registers are currently
reserved.
CPUID Instruction with EAX = 80000000h
7.2.2.2
Extended function 80000001h (EAX = 80000001h) of the
CPUID instruction returns the processor type, family,
model, and stepping information of the current processor
in EAX. The EBX and ECX registers are reserved.
CPUID Instruction with EAX = 80000001h
The extended feature flags supported are returned in the
EDX register as shown in Table 7-23. Each flag refers to a
specific feature and indicates if that feature is present on
the processor. Some of these features have protection
control in CR4. Before using any of these features on the
processor, the software should check the corresponding
feature flag.
Table 7-21. Maximum Extended CPUID Level
Register
Returned
Contents
Description
EAX
80000005h
Maximum Extended CPUID
Level (six levels)
Reserved
Reserved
Reserved
EBX
ECX
EDX
-
-
-
Table 7-22. EAX, EBX, ECX CPUID Data
Returned when EAX = 80000001h
Register
Returned
Contents
Description
EAX[3:0]
EAX[7:4]
EAX[11:8]
EAX[15:12]
EAX[31:16]
EBX
ECX
xx
4
5
0
-
-
-
Stepping ID
Model
Family
Processor Type
Reserved
Reserved
Reserved
Table 7-23. EDX CPUID Data Returned
when EAX = 80000001h
EDX
Returned
Contents*
Feature Flag
CR4
Bit
EDX[0]
EDX[1]
EDX[2]
EDX[3]
1
0
0
0
FPU On-Chip
Virtual Mode Extension
Debugging Extension
Page Size Extension
(4 MB)
Time Stamp Counter
Model-Specific Registers
(via RDMSR / WRMSR
Instructions)
Reserved
Machine Check Exception
CMPXCHG8B Instruction
Reserved
Reserved
SYSCALL / SYSRET
Instruction
Reserved
Page Global Enable
Reserved
Integer Conditional Move
Instruction
FPU Conditional Move
Instruction
Reserved
MMX
6x86MX Multimedia
Extensions
-
-
-
-
EDX[4]
EDX[5]
1
1
2
-
EDX[6]
EDX[7]
EDX[8]
EDX[9]
EDX[10]
EDX[11]
0
0
1
0
0
0
-
-
-
-
-
-
EDX[12]
EDX[13]
EDX[14]
EDX[15]
0
0
0
1
-
-
-
-
EDX[16]
0
-
EDX[22:17]
EDX[23]
EDX[24]
0
1
1
-
-
-
Note:
0 = Not supported