Performs optimizations for a specified CPU.
Windows: None
Linux: Optimization > Optimize for Intel processor
Mac OS: None
IA-32 architecture, IA-64 architecture
Linux and Mac OS: | -mtune=processor |
Windows: | None |
processor | Is the CPU for which the compiler should perform optimizations. Possible values on systems using IA-32 architecture are: | |
pentium | Optimizes for Intel® Pentium® processors. | |
Optimizes for Intel® Pentium® with MMX™ technology. | ||
pentiumpro | Optimizes for Intel® Pentium® Pro, Intel Pentium II, and Intel Pentium III processors. | |
pentium4 | Optimizes for Intel® Pentium® 4 processors. | |
pentium4m | Optimizes for Intel® Pentium® 4 processors with MMX™ technology. | |
Possible values on systems using IA-64 architecture are: |
||
itanium | Optimizes for systems using IA-64 architecture. | |
itanium2 | Optimizes for Intel® Itanium® 2 processors. | |
Optimizes for Dual-Core Intel® Itanium® 2 processor 9000 series. This option affects the order of the generated instructions, but the generated instructions are limited to Intel® Itanium® 2 processor instructions unless the program uses (executes) intrinsics specific to the Dual-Core Intel® Itanium® 2 processor 9000 series. |
pentium4 | On systems using IA-32 architecture, the compiler optimizes for Intel® Pentium® 4 processors. |
itanium2 | On systems using IA-64 architecture, the compiler optimizes for Intel® Itanium® 2 processors. |
This option performs optimizations for a specified CPU.
-mtune | Linux: -mcpu (this
is a deprecated
option) Mac OS: None Windows: None |
-mtune=itanium | Linux: -mcpu=itanium
(-mcpu is a deprecated option) Mac OS: None Windows: /G1 |
-mtune=itanium2 | Linux: -mcpu=itanium2
(-mcpu is a deprecated option) Mac OS: None Windows: /G2 |
-mtune=itanium2-p9000 | Linux: -mcpu=itanium2-p9000
(-mcpu is a deprecated option) Mac OS: None Windows: /G2-p9000 |