Developer Guide and Reference

Contents

arch

Tells the compiler which features it may target, including which instruction sets it may generate.

Syntax

Linux and 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:
AMBERLAKE
BROADWELL
CANNONLAKE
CASCADELAKE
COFFEELAKE
GOLDMONT
GOLDMONT-PLUS
HASWELL
ICELAKE-CLIENT
(or
ICELAKE
)
ICELAKE-SERVER
IVYBRIDGE
KABYLAKE
KNL
KNM
SANDYBRIDGE
SILVERMONT
SKYLAKE
SKYLAKE-AVX512
TREMONT
WHISKEYLAKE
May generate instructions for processors that support the specified Intel® processor or microarchitecture code name.