Processor-specific Optimization (IA-32 only)

The -x (Linux*) or /Qx (Windows*) options target your program to run on a specific Intel® processor. The resulting code might contain unconditional use of features that are not supported on other processors.

Windows*

Linux*

Optimizes code for...

/QxK

-xK

Intel® Pentium® III and compatible Intel processors

/QxW

-xW

Intel Pentium 4 and compatible Intel processors

/QxN

-xN

Intel Pentium 4 and compatible Intel processors

/QxB

-xB

Intel Pentium M and compatible Intel processors

/QxP

-xP

Intel® Pentium® 4 processors with Streaming SIMD Extensions 3 (SSE3) instruction support

For more information about the options listed in the table above, see the following topic:

The following examples compile an application for Intel Pentium 4 and compatible processors. The resulting binary might not execute correctly on Pentium, Pentium Pro, Pentium II, Pentium III, or Pentium with MMX™ technology processors, or on x86 processors not provided by Intel Corporation.

Platform

Example

Linux

ifort -xN prog.f

Windows

ifort /QxN prog.f