Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ... Volume 3: General-Purpose and System Instructions - Stanford ...

scs.stanford.edu
from scs.stanford.edu More from this publisher
13.07.2015 Views

AMD64 Technology 24594 Rev. 3.10 February 2005Table 3-2.Effective Family ComputationFamily Field How to Compute the Effective Family ExampleExtended FamilyFhAdd the extended family field and the zeroextendedfamily field.+07000Effective Family0Family13011100100700100010513-329.epsFamilyLess than FhUse the family field as the effective family.031100Effective Family031100513-330.epsThe method for computing the effective model is shown in Table 3-3 on page 121.120 CPUID

24594 Rev. 3.10 February 2005 AMD64 TechnologyTable 3-3.Effective Model ComputationFamily Field How to Compute the Effective Model ExampleExtended ModelFhShift the extended model field four bits to theleft and add it to the model field.+031000Effective ModelModel0031000710000100513-331.epsModelLess than FhUse the model field as the effective model.130100Effective Model130100513-332.epsStandard Function 1 EBX: Initial APIC ID, Logical Processor Count, CLFLUSH Size, and 8-Bit Brand ID.CPUID standard function 1 returns information on the initial value of the physical IDregister associated with the advanced programmable interrupt controller (APIC), thelogical processor count, the size of the cache line flushed by the CLFLUSHinstruction, and the processor brand.Figure 3-2 shows the format of the EBX register following execution of CPUIDstandard function 1.31 24 23 16 15 8 7 0Initial APIC ID Logical Processor Count CLFLUSH Size 8-Bit Brand IDBits Mnemonic Description31–24 Initial APIC ID23–16 Logical Processor Count15–8 CLFLUSH Size7–0 8-Bit Brand IDFigure 3-2.Standard Function 1 EBX: Initial APIC ID, Logical Processor Count, CLFLUSH Size,and 8-Bit Brand ID (EBX Register)CPUID 121

24594 Rev. 3.10 February 2005 AMD64 TechnologyTable 3-3.Effective Model ComputationFamily Field How to Compute the Effective Model ExampleExtended ModelFhShift the extended model field four bits to theleft <strong>and</strong> add it to the model field.+031000Effective ModelModel0031000710000100513-331.epsModelLess than FhUse the model field as the effective model.130100Effective Model130100513-332.epsSt<strong>and</strong>ard Function 1 EBX: Initial APIC ID, Logical Processor Count, CLFLUSH Size, <strong>and</strong> 8-Bit Br<strong>and</strong> ID.CPUID st<strong>and</strong>ard function 1 returns information on the initial value of the physical IDregister associated with the advanced programmable interrupt controller (APIC), thelogical processor count, the size of the cache line flushed by the CLFLUSHinstruction, <strong>and</strong> the processor br<strong>and</strong>.Figure 3-2 shows the format of the EBX register following execution of CPUIDst<strong>and</strong>ard function 1.31 24 23 16 15 8 7 0Initial APIC ID Logical Processor Count CLFLUSH Size 8-Bit Br<strong>and</strong> IDBits Mnemonic Description31–24 Initial APIC ID23–16 Logical Processor Count15–8 CLFLUSH Size7–0 8-Bit Br<strong>and</strong> IDFigure 3-2.St<strong>and</strong>ard Function 1 EBX: Initial APIC ID, Logical Processor Count, CLFLUSH Size,<strong>and</strong> 8-Bit Br<strong>and</strong> ID (EBX Register)CPUID 121

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

Saved successfully!

Ooh no, something went wrong!