Tells the compiler which features it may target, including which instruction sets it may generate.
Linux: | None |
Windows: | /arch:code |
code |
Indicates to the compiler a feature set that it may target, including which instruction sets it may generate. Possible values are:
|
varies |
If option arch is not specified, the default target architecture supports Intel® SSE2 instructions. |
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.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
Visual Studio: Code Generation > Enable Enhanced Instruction Set
Eclipse: None
Xcode: None
None