Determines the version of the architecture for which the compiler generates instructions.
None
IA-32 architecture, IntelŪ 64 architecture
| Linux and Mac OS X: | -arch keyword |
| Windows: | /architecture:keyword |
| keyword | Is the processor type. Possible values are: | |
| pn1 | Optimizes for the IntelŪ PentiumŪ processor. | |
| pn2 | Optimizes for the IntelŪ PentiumŪ Pro, IntelŪ PentiumŪ II, and IntelŪ PentiumŪ III processors. | |
| pn3 | Optimizes for the IntelŪ PentiumŪ Pro, IntelŪ PentiumŪ II, and IntelŪ PentiumŪ III processors. This is the same as specifying arch pn2. | |
| pn4 | Optimizes for the IntelŪ PentiumŪ 4 processor. | |
| 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). | |
| pn4 | The compiler optimizes for the IntelŪ PentiumŪ 4 processor. |
This option determines the version of the architecture for which the compiler generates instructions.
On systems using IA-32 architecture, only keywords pn1, pn2, pn3, and pn4 are valid.
Linux and Mac OS X: None
Windows: /arch