Tells the compiler to generate code for a specified processor.
IA-32, Intel® 64 architectures
Linux: | -march=processor |
Mac OS X: | None |
Windows: | None |
processor |
Is the processor for which the compiler should generate code. Possible values are:
|
OFF or |
On IA-32 architecture, the compiler does not generate processor-specific code unless it is told to do so. On systems using Intel® 64 architecture, the compiler generates code for Intel Pentium 4 processors. |
This option tells the compiler to generate code for a specified processor.
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.
None