Specifies the scheduling model used for instruction scheduling optimization.
#pragma x86_processor generic | pentium | pentiumpro | pentiumII | pentiumIII | pentiumIV | k6 | k7 | athlon | athlonIV | AthlonXP
The processor options include:
| This option… | Value | Does this… |
|---|---|---|
| generic | 500 |
Generic x86 instructions. This is the default. |
| pentium | 500 |
Use Pentium instruction set. |
| pentiumpro | 600 |
Use Pentium Pro instruction set. |
| pentiumII | 650 |
Use Pentium II instruction set. |
| pentiumIII | 655 |
Use Pentium III instruction set. |
| pentiumIV | 660 |
Use Pentium IV instruction set. |
| k6 | 550 |
Use AMD K6 instruction set. |
| k7 | 700 |
Use AMD K7 instruction set. |
| athlon | 700 |
Use Athlon instruction set. |
| athlonIV | 700 |
|
| athlonXP | 700 |
Use Athlon XP instruction set. |
You can test for a specific processor using the _M_IX86 macro using the values shown in Table 11.3.