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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPLICATION PROGRAMMING MODEL<br />

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

Initial EAX<br />

Value Information Provided about the Processor<br />

Basic CPUID Information<br />

0H EAX<br />

EBX<br />

ECX<br />

EDX<br />

01H EAX<br />

EBX<br />

ECX<br />

EDX<br />

02H EAX<br />

EBX<br />

ECX<br />

EDX<br />

Maximum Input Value for Basic CPUID Information (see Table 2-24)<br />

“Genu”<br />

“ntel”<br />

“ineI”<br />

Version Information: Type, Family, Model, and Stepping ID (see Figure 2-2)<br />

Bits 7-0: Brand Index<br />

Bits 15-8: CLFLUSH line size (Value ∗ 8 = cache line size in bytes)<br />

Bits 23-16: Maximum number of addressable IDs for logical processors in this physical package*.<br />

Bits 31-24: Initial APIC ID<br />

Feature Information (see Figure 2-3 and Table 2-26)<br />

Feature Information (see Figure 2-4 and Table 2-27)<br />

NOTES:<br />

* The nearest power-of-2 integer that is not smaller than EBX[23:16] is the maximum number of<br />

unique initial APIC IDs reserved for addressing different logical processors in a physical package.<br />

Cache and TLB Information (see Table 2-28)<br />

Cache and TLB Information<br />

Cache and TLB Information<br />

Cache and TLB Information<br />

03H EAX Reserved.<br />

EBX Reserved.<br />

ECX Bits 00-31 of 96 bit processor serial number. (Available in Pentium III processor only; otherwise, the<br />

value in this register is reserved.)<br />

EDX Bits 32-63 of 96 bit processor serial number. (Available in Pentium III processor only; otherwise, the<br />

value in this register is reserved.)<br />

NOTES:<br />

Processor serial number (PSN) is not supported in the Pentium 4 processor or later. On all models,<br />

use the PSN flag (returned using CPUID) to check for PSN support before accessing the feature.<br />

See AP-485, Intel Processor Identification and the CPUID <strong>Instruction</strong> (Order Number 241618) for<br />

more information on PSN.<br />

04H<br />

CPUID leaves > 3 < 80000000 are visible only when IA32_MISC_ENABLES.BOOT_NT4[bit 22] = 0 (default).<br />

Deterministic Cache Parameters Leaf<br />

NOTES:<br />

Leaf 04H output depends on the initial value in ECX.<br />

See also: “INPUT EAX = 4: Returns Deterministic Cache Parameters for each level on page 2-44.<br />

EAX Bits 4-0: Cache Type Field<br />

0 = Null - No more caches<br />

1 = Data Cache<br />

2 = <strong>Instruction</strong> Cache<br />

3 = Unified Cache<br />

4-31 = Reserved<br />

2-28 Ref. # 319433-014

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

Saved successfully!

Ooh no, something went wrong!