Directs the compiler to generate specialized and optimized code for the processor that executes your program.
Windows: Optimization > Require Intel(R) Processor Extensions
Linux: None
IA-32, IntelŪ EM64T
Linux: | -xprocessor |
Windows: | /Qxprocessor |
processor | Is the processor for which you want to target your program. Possible values are: | |
K | Code is optimized for IntelŪ PentiumŪ III and compatible Intel processors. | |
W | Code is optimized for Intel Pentium 4 and compatible Intel processors. | |
N | Code is optimized for Intel Pentium 4 and compatible
Intel processors. This option also enables new optimizations in addition to Intel processor-specific optimizations. | |
B | Code is optimized for Intel Pentium M and compatible
Intel processors. This option also enables new optimizations in addition to Intel processor-specific optimizations. | |
P | Code is optimized for IntelŪ PentiumŪ 4 processors with
Streaming SIMD Extensions 3 (SSE3) instruction support. This option also enables new optimizations in addition to Intel processor-specific optimizations. |
IA-32 systems: OFF IntelŪ EM64T systems: W |
On IA-32 systems, no processor-specific code is generated by the compiler. On IntelŪ EM64T systems, the default is W, which optimizes code for Intel Pentium 4 and compatible Intel processors. |
This option directs the compiler to generate specialized and optimized code for the IntelŪ processor that executes your program. It lets you target your program to run on a specific Intel processor.
The resulting code may contain unconditional use of features that are not supported on other processors.
On IntelŪ EM64T systems, W and P are the only valid processor values.
You can use more than one of the processor values by combining them. For example, on IA-32 processors, you can specify -xNB (Linux) or /QxNB (Windows) to generate code for IntelŪ PentiumŪ 4 processors and Intel Pentium M processors.
Do not use these options if you are executing a program on a non-IntelŪ processor. If you use these options on a non-compatible processor, the program may fail with an illegal instruction exception or display other unexpected behavior.
In particular, programs compiled with processor values N, B, or P will display a fatal run-time error if they are executed on unsupported processors. For more information, see your Optimizing Applications guide.
None
ax compiler option