![background image](http://html1.mh-extra.com/html/amd/k6-2-450-mhz-processor/k6-2-450-mhz-processor_application-note_2921586024.webp)
12
CPUID Identification Algorithms
Embedded AMD-K6™ Processors BIOS Design Guide
23913A/0—November 2000
Preliminary Information
Figure 1. CPUID Instruction Flow Chart
Check for CPUID
instruction support
CPUID instruction
supported
No CPUID instruction--
Use other means
to detect CPU type
No
Execute CPUID
Standard Function EAX=0
Store Vendor String
EAX > 1 ?
Execute CPUID
Standard Function EAX=1
Store returned Standard
Function Feature bits and
Processor Signature;
Determine MMX and,
optionally, SSE* support
No
AMD processor not
present—Check for
other CPU brands
Execute CPUID
Extended Function
EAX=8000_0001h
Utilize Vendor String and
Extended Function Feature
bits to determine 3DNow!,
3DNow! Extensions, and
MMX™ Extensions support
Execute CPUID
Extended Functions
EAX=8000_0002h,
8000_0003h,
and 8000_0004h
to display processor
name string
Execute CPUID
Extended Functions
EAX=8000_0005h and
EAX=8000_0006h (Model 9 &
Model D) to gather processor
cache and TLB information
Done
Tune software to optimize
for features present
Yes
Yes
Execute CPUID
Extended Function
EAX=8000_0000h to
determine number of
extended functions supported
Execute CPUID
Extended Function
EAX=8000_0007h (Model D)
to gather AMD PowerNow!
technology information for the
processor
EAX >
8000_0001h ?
No
Yes
Utilize Processor Signature to
determine MSR support
Extended Functions
Not Supported
* Streaming SIMD Extensions