13.07.2015 Views

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

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

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

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.

24594 Rev. 3.10 February 2005 AMD64 TechnologyExtended Function8000_0000h:Processor Vendor <strong>and</strong>Largest ExtendedFunction NumberExtended function 8000_0000h mimics the behavior of st<strong>and</strong>ard function 0, exceptthat extended function 8000_0000h returns the largest extended function numberinstead of the largest st<strong>and</strong>ard function number.Extended Function 8000_0000h EAX: Largest Extended Function Number. Extendedfunction 8000_0000h loads EAX with the largest CPUID extended function numbersupported by the processor implementation.Extended Function 8000_0000h EBX, EDX, <strong>and</strong> ECX: Processor Vendor. Extendedfunction 8000_0000h loads a 12-character string into the EBX, EDX, <strong>and</strong> ECXregisters identifying the processor vendor. For AMD processors, the string isAuthenticAMD. This string informs software that it should follow the AMD CPUIDdefinition for subsequent CPUID function calls. If the function returns a anothervendor’s string, software must use that vendor’s CPUID definition when interpretingthe results of subsequent CPUID function calls. Table 3-1 on page 118 shows thecontents of the EBX, EDX, <strong>and</strong> ECX registers after executing extendedfunction 8000_0000h on an AMD processor.Extended Function8000_0001h:Processor Signature<strong>and</strong> AMD FeaturesLike st<strong>and</strong>ard function 1, extended function 8000_0001h returns the processorsignature <strong>and</strong> feature bits. However, the feature bits returned by this function includea subset of the bits reported by st<strong>and</strong>ard function 1, along with additional bits forAMD features.Extended Function 8000_0001h EAX: Processor Signature. Extended function 8000_0001hreturns the processor signature in the EAX register; the signature providesinformation on the processor revision (stepping) level <strong>and</strong> processor model, as well asthe instruction family that the processor supports.Figure 3-1 on page 119 shows the format of the EAX register following execution ofCPUID extended function 8000_0001h. (The value returned in the EAX register forfunction 8000_0001h is the same as the value returned by st<strong>and</strong>ard function 1.)Extended Function 8000_0001h EBX: 12-bit Br<strong>and</strong> ID. Extended function 8000_0001h returnsa 12-bit br<strong>and</strong> ID for certain AMD64 processors. As is the case with the 8-bit br<strong>and</strong> IDCPUID 125

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

Saved successfully!

Ooh no, something went wrong!