Tells the compiler to generate optimized code specialized for the processor that executes your program.
Windows: Code Generation > Enable Enhanced Instruction Set
Linux: None
Mac OS X: None
IA-32, Intel® 64 architectures
Linux and Mac OS X: | -archprocessor |
Windows: | /arch:processor |
processor |
Is the processor type. Possible values are:
|
Windows and Linux systems: SSE2 |
For more information on the default values, see Arguments above. |
This option tells the compiler to generate optimized code specialized for the processor that executes your program.
Code generated with the values IA32, SSE, SSE2, or SSE3 should execute on any compatible non-Intel processor with support for the corresponding instruction set.
Options /arch and /Qx are mutually exclusive. If both are specified, the compiler uses the last one specified and generates a warning.
For compatibility with Compaq* Visual Fortran, the compiler allows the following keyword values. However, you should use the suggested replacements.
Compatibility Value |
Suggested Replacement |
pn1 |
-mia32 or /arch:IA32 |
pn2 |
-mia32 or /arch:IA32 |
pn3 |
-mia32 or /arch:IA32 |
pn4 |
-msse2 or /arch:SSE2 |
Linux and Mac OS X: -m
Windows: /architecture