For IA-32-targeted compilations, the IntelŪ Fortran Compiler lets you choose whether to optimize the performance of your application for specific processors or to ensure your application can execute on a range of processors.
Use the -tpp{n} option to optimize your application's performance for specific processors. Regardless of which -tpp{n} suboption you choose, your application is optimized to use all the benefits of that processor with the resulting binary file still capable of running on any of the processors listed.
|
To optimize for... |
Use... |
|
PentiumŪ processor and Pentium processor with MMX(TM) technology |
-tpp5 |
|
Pentium Pro, Pentium II and Pentium III processors |
-tpp6 (default option) |
|
IntelŪ PentiumŪ 4 and Xeon(TM) processors |
-tpp7 |
For example, the following commands compile and optimize the source program prog.f for the Pentium Pro processor:
prompt>ifc prog.f
prompt>ifc -tpp6 prog.f