The following table shows how to combine processor target and dispatch options to compile applications with different optimizations and exclusions.
Optimize exclusively for... |
...while optimizing without exclusion for... |
|||||
PentiumŪ Processor |
Pentium Processor with MMX(TM) technology |
Pentium Pro Processor |
Pentium II Processor |
Pentium III Processor |
Pentium 4, Xeon(TM) Processors | |
Pentium Processor |
-tpp5 |
-tpp5 |
-tpp6 |
-tpp6 |
-tpp6 |
-tpp7 |
Pentium Processor with MMX technology |
N-A |
-tpp5, |
-tpp6 |
-tpp6, |
-tpp6, |
-tpp7, |
Pentium Pro Processor |
N-A |
N-A |
-tpp6, |
-tpp6, |
-tpp6, |
-tpp7, |
Pentium II Processor |
N-A |
N-A |
N-A |
-tpp6, |
-tpp6, |
-tpp7, |
Pentium III Processor |
N-A |
N-A |
N-A |
N-A |
-tpp6, |
-tpp7, |
Pentium 4, Xeon Processors |
N-A |
N-A |
N-A |
N-A |
N-A |
-tpp7, |
If you wanted your application to
always require the MMX technology extensions
use Pentium Pro processor extensions when the processor it is run on offers it, and to not use them when it does not
you could generate such an application with the following command line:
prompt>ifc -02 -tpp6 -xM -xi myprog.f
-xM above restricts the application to running on Pentium processors with MMX technology or later processors. If you wanted to enable the application to run on earlier generations of Intel 32-bit processors as well, you would use the following command line:
prompt>ifc -02 -tpp6 -axM myprog.f