Tells the compiler to generate code for processors that support certain features.
Linux: | -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.
Options -x and -march are mutually exclusive. If both are specified, the compiler uses the last one specified and generates a warning.
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 Windows: None |
-march=pentium4 |
Linux: -xSSE2 Windows: None |
-march=core2 |
Linux: -xSSSE3 Windows: None |