Visible to Intel only — GUID: GUID-B4670EED-D317-46D4-9635-618B36C827C3
Visible to Intel only — GUID: GUID-B4670EED-D317-46D4-9635-618B36C827C3
m, Qm
Tells the compiler which instruction set extensions based on CPUID bits it may generate.
Syntax
Linux: |
-mcode |
Windows: |
/Qmcode |
Arguments
code |
Indicates the instruction set extensions based on CPUID bits that the compiler may generate. Many of the Clang settings for option -m are supported. For more information on Clang settings for -m, see the Clang documentation. |
Default
varies |
If option arch is not specified, the default target architecture supports Intel® SSE2 instructions. |
Description
This option tells the compiler which instruction set extensions based on CPUID bits it may generate.
Code generated with these options should execute on any compatible, non-Intel processor with support for the corresponding instruction set.
Options -m and /Qm enable specific sets of instructions based on CPUID bits. If you want to enable all instructions supported by a named microarchitecture, you should use option -march (Linux) or /arch (Windows).
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
IDE Equivalent
Alternate Options
None