Intel® C++ Compiler Classic Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
march
Tells the compiler to generate code for processors that support certain features.
Linux: |
-march=processor |
macOS: |
-march=processor |
Windows: |
None |
processor |
Tells the compiler the code it can generate. Possible values are:
|
pentium4 |
If no architecture option is specified, value pentium4 is used by the compiler to generate code. |
This option tells the compiler to generate code for processors that support certain features.
If you specify both the -ax and -march options, the compiler will not generate Intel-specific instructions.
Options -x and -march are mutually exclusive. If both are specified, the compiler uses the last one specified and generates a warning.
Specifying -march=pentium4 sets -mtune=pentium4.
For compatibility, a number of historical processor values are also supported, but the generated code will not differ from the default.
Product and Performance Information |
---|
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex. Notice revision #20201201 |
-march=pentium3 |
Linux: -xSSE macOS: None Windows: None |
-march=pentium4 |
Linux: -xSSE2 macOS: None Windows: None |
-march=core2 |
Linux: -xSSSE3 macOS: None Windows: None |