Intel® Fortran Compiler 16.0 User and Reference Guide
Tells the compiler which features it may target, including which instruction sets it may generate.
Not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner)
Linux and OS X: | -arch code |
Windows: | /arch:code |
code |
Indicates to the compiler a feature set that it may target, including which instruction sets it may generate. Many of the following descriptions refer to Intel® Streaming SIMD Extensions (Intel® SSE) and Supplemental Streaming SIMD Extensions (SSSE). Possible values are:
|
Windows and Linux
systems:
SSE2 |
For more information on the default values, see Arguments above. |
This option tells the compiler which features it may target, including which instruction sets it may generate.
Code generated with these options 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.
If you specify both the /Qax and /arch options, the compiler will not generate Intel-specific instructions.
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 |
Visual Studio: Code Generation > Enable Enhanced Instruction Set
Eclipse: None
Xcode: None
Linux and OS X: -m
Windows: None