Option
for the Intel® Itanium® 2 Processor
The Intel® Itanium® compilers feature optimized instruction scheduling
for the Itanium 2 processor.
More functional units and lower latencies reduce nops
and instruction group boundaries (also called "stop bits"). This reduction
in nops and stop bits allows more complete filling
of bundles, fewer nops resulting from resource
starvation. Consequently, more instructions are used effectively during
each cycle.
There are no new instructions for the Itanium 2 processor.
These options optimize application performance for a particular Intel® processor
or family of processors. The compiler generates code that takes advantage
of features of the Itanium architecture.
|
Windows*
|
Linux*
|
Description
|
/G2
|
-tpp2
|
Optimizes for Intel® Itanium® 2 processors.
Default. |
/G1
|
-tpp1
|
Optimizes for Intel® Itanium® processors.
|
|
These options always generate code that is backwards compatible with
Intel processors of the same architecture. For example, code generated
with option -tpp2 (Linux) or /G2 (Windows)
runs correctly on Itanium and Itanium 2 processors, although performance
may be faster on Itanium processors
when compiled using -tpp1 or /G1.

Example
prompt>icl /O3 /G2 myprog.cpp
prompt>icl /O3 myprog.cpp
|