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: | -mcode |
Windows: | None |
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:
|
Linux* systems:
-msse2 |
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 -x and -m are mutually exclusive. If both are specified, the compiler uses the last one specified and generates a warning.
Linux* systems: For compatibility with gcc, the compiler allows the following options but they have no effect. You will get a warning error, but the instructions associated with the name will not be generated. You should use the suggested replacement options.
gcc Compatibility Option (Linux* OS) |
Suggested Replacement Option |
-mfma |
-march=core-avx2 |
-mbmi, -mavx2, -mlzcnt |
-march=core-avx2 |
-mmovbe |
-march=atom -minstruction=movbe |
-mcrc32, -maes, -mpclmul, -mpopcnt |
-march=corei7 |
-mvzeroupper |
-march=corei7-avx |
-mfsgsbase, -mrdrnd, -mf16c |
-march=core-avx-i |
Many of the above gcc options are not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner).
Linux and OS X: None
Windows: /arch