Targeting a Processor, -tpp{n}

The -tpp{n}  optimizes your application's performance for specific Intel processors. This option generates code that is tuned for the processor associated with its version. For example, -tpp7 generates code optimized for running on IntelŪ PentiumŪ 4, IntelŪ Xeon(TM), IntelŪ PentiumŪ M processors and Intel processors code-named "Prescott," and -tpp2 generates code optimized for running on ItaniumŪ 2 processor.

 The -tpp{n} option always generates code that is backwards compatible with Intel® processors of the same family. This means that code generated with -tpp7 will run correctly on Pentium Pro or Pentium III processors, possibly just not quite as fast as if the code had been compiled with -tpp6. Similarly, code generated with -tpp2 will run correctly on Itanium processor, but possibly not quite as fast as if it had been generated with -tpp1.

Processors for IA-32 Systems

The -tpp5, -tpp6, and -tpp7 options optimize your application's performance for a specific Intel IA-32 processor as listed in the table below. The resulting binaries will also run correctly on any of the processors mentioned in the table.

Option

Optimizes your application for...

-tpp5

IntelŪ PentiumŪ and PentiumŪ with MMX(TM) technology processor

-tpp6

IntelŪ  PentiumŪ Pro, PentiumŪ II and PentiumŪ III processors

-tpp7 (default)

Intel Pentium 4 processors, IntelŪ Xeon(TM) processors, IntelŪ PentiumŪ M processors, and Intel processors code-named "Prescott"

Example

The invocations listed below each result in a compiled binary of the source program prog.f optimized for Pentium 4 and Intel Xeon processors by default. The same binary will also run on Pentium, Pentium Pro, Pentium II, and Pentium III processors.

ifort prog.f

ifort -tpp7 prog.f

However if you intend to target your application specifically to the Intel Pentium and Pentium with MMX technology processors, use the -tpp5 option:

ifort -tpp5 prog.f

Processors for ItaniumŪ-based Systems

The -tpp1 and -tpp2 options optimize your application's performance for a specific Intel IA-32 processor as listed in the table below. The resulting binaries will also run correctly on both processors mentioned in the table.

Option

Optimizes your application for...

-tpp1

IntelŪ ItaniumŪ processor

-tpp2 (default)

IntelŪ ItaniumŪ 2 processor

Example

The following invocation results in a compiled binary of the source program prog.f optimized for the Itanium 2 processor by default. The same binary will also run on Itanium processors.

ifort prog.f

ifort -tpp2 prog.f

However if you intend to target your application specifically to the Intel Itanium processor, use the -tpp1 option:

ifort -tpp1 prog.f