Tells the compiler to optimize for a specified cpu.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
| Linux: | -mcpu=cpu |
| Windows: | None |
| cpu | Is the cpu for which the compiler should optimize. Possible values on IA-32 systems are: |
|
| pentium | Optimizes for IntelŪ PentiumŪ processors. | |
| pentiumpro | Optimizes for IntelŪ PentiumŪ Pro, Intel Pentium II, and Intel Pentium III processors. | |
| pentium4 | Optimizes for Intel Pentium 4 processors. | |
| Possible values on Itanium-based systems are: | ||
| itanium | Optimizes for IntelŪ ItaniumŪ processors. | |
| itanium2 | Optimizes for Intel Itanium 2 processors. | |
| pentium4 | On IA-32 systems, the compiler optimizes for Intel Pentium 4 processors. |
| itanium2 | On Itanium-based systems, the compiler optimizes for Intel Itanium 2 processors. |
This option tells the compiler to optimize for a specified cpu.
On IntelŪ EM64T systems, only -mcpu=pentium4 is supported.
None