Visible to Intel only — GUID: GUID-4096E831-F7A4-4B3A-A74E-D104CC647C61
Visible to Intel only — GUID: GUID-4096E831-F7A4-4B3A-A74E-D104CC647C61
arch
Tells the compiler which features it may target, including which instruction sets it may generate.
Syntax
Linux: |
-arch code |
Windows: |
/arch:code |
Arguments
code |
Indicates to the compiler a feature set that it may target, including which instruction sets it may generate. Possible values are:
|
Default
varies |
If option arch is not specified, the default target architecture supports Intel® SSE2 instructions. |
Description
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. Offloading can only be enabled when using ifx.
ifx does not support compilation for 32-bit architectures; only code values for 64-bit instruction sets may be specified for ifx.
IDE Equivalent
Visual Studio: Code Generation > Enable Enhanced Instruction Set
Alternate Options
None