Determines the version of the architecture for which the compiler generates instructions.
None
IA-32, IntelŪ EM64T
Linux and Mac OS: | -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 IntelŪ EM64T systems, only keywords pn1, pn2, pn3, and pn4 are valid.
Linux and Mac OS : None
Windows: /arch