arch

Determines the version of the architecture for which the compiler generates instructions.

IDE Equivalent

Windows: C/C++ > Code Generation > Enable Enhanced Instruction Set

Linux: None

Mac OS: None

Architectures

IA-32

Syntax

Linux and Mac OS: None
Windows:  /arch:keyword

Arguments

keyword Is the processor type. Possible values are:
  SSE Optimizes for Intel Pentium 4 processors with Streaming SIMD Extensions (SSE).
  SSE2 Optimizes for Intel Pentium 4 processors with Streaming SIMD Extensions 2 (SSE2).

Default

OFF No processor-specific code is generated by the compiler.

Description

This option determines the version of the architecture for which the compiler generates instructions.

Alternate Options

/architecture:SSE Linux and Mac OS : None
Windows: /QxK
/architecture:SSE2  Linux and Mac OS : None
Windows: /QxW