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: |
None |
macOS: |
None |
Windows: |
/arch:code |
Arguments
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:
|
Default
SSE2 |
The compiler may generate Intel® SSE2 and SSE 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.
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.
IDE Equivalent
Visual Studio: Code Generation > Enable Enhanced Instruction Set
Eclipse: None
Xcode: None
Alternate Options
None