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 />

How Brand Strings Work<br />

CPUID<br />

IF (EAX & 0x80000000)<br />

CPUID<br />

Function<br />

Supported<br />

Input: EAX=<br />

0x80000000<br />

True ≥<br />

Extended<br />

EAX Return Value =<br />

Max. Extended CPUID<br />

Function Index<br />

IF (EAX Return Value<br />

≥ 0x80000004)<br />

False<br />

True<br />

Processor Brand<br />

String Not<br />

Supported<br />

Processor Brand<br />

String Supported<br />

OM15194<br />

Figure 2-5. Determination of Support for the Processor Brand String<br />

To use the brand string method, execute CPUID with EAX input of 8000002H through 80000004H. For each input<br />

value, CPUID returns 16 ASCII characters using EAX, EBX, ECX, and EDX. The returned string will be NULL-terminated.<br />

Table 2-30 shows the brand string that is returned by the first processor in the Pentium 4 processor family.<br />

2-46 Ref. # 319433-014

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

Saved successfully!

Ooh no, something went wrong!