03.03.2013 Views

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPLICATION PROGRAMMING MODEL<br />

Table 2-23. Information Returned by CPUID <strong>Instruction</strong>(Continued)<br />

Initial EAX<br />

Value Information Provided about the Processor<br />

80000007H EAX<br />

EBX<br />

ECX<br />

EDX<br />

NOTES:<br />

* L2 associativity field encodings:<br />

00H - Disabled<br />

01H - Direct mapped<br />

02H - 2-way<br />

04H - 4-way<br />

06H - 8-way<br />

08H - 16-way<br />

0FH - Fully associative<br />

Reserved = 0<br />

Reserved = 0<br />

Reserved = 0<br />

Reserved = 0<br />

80000008H EAX Virtual/Physical Address size<br />

Bits 7-0: #Physical Address Bits*<br />

Bits 15-8: #Virtual Address Bits<br />

Bits 31-16: Reserved = 0<br />

EBX<br />

ECX<br />

EDX<br />

Reserved = 0<br />

Reserved = 0<br />

Reserved = 0<br />

NOTES:<br />

* If CPUID.80000008H:EAX[7:0] is supported, the maximum physical address number supported<br />

should come from this field.<br />

INPUT EAX = 0: Returns CPUID’s Highest Value for Basic Processor Information and the Vendor Identification String<br />

When CPUID executes with EAX set to 0, the processor returns the highest value the CPUID recognizes for<br />

returning basic processor information. The value is returned in the EAX register (see Table 2-24) and is processor<br />

specific.<br />

A vendor identification string is also returned in EBX, EDX, and ECX. For Intel processors, the string is “GenuineIntel”<br />

and is expressed:<br />

EBX ← 756e6547h (* "Genu", with G in the low 4 bits of BL *)<br />

EDX ← 49656e69h (* "ineI", with i in the low 4 bits of DL *)<br />

ECX ← 6c65746eh (* "ntel", with n in the low 4 bits of CL *)<br />

2-34 Ref. # 319433-014

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!