Summary of options for optimization and performance

The following table presents a summary of the compiler options that deal with optimization and performance tuning. The options are grouped by type.

Table 14. Options related to optimization and performance tuning

Optimization flags Optimization restriction options
-qagrrcopy

-qkeepparm
-qnoprefetch
-qstrict
-qcompact
-qmaxmem

Function inlining Code size reduction
-Q
-qinline
-qinlglue

-s
-qnoeh

Side effects Loop optimization
-qignerrno
-qisolated_call

-qhot
-qreport
-qnostrict_induction
-qunroll

Whole-program analysis Processor and architectural optimization
-qipa

-qarch
-qcache
-qtune
-qdirectstorage
-qenablevmx

Performance data collection Other optimization options
-p
-qpdf1
-qpdf2
-pg
-qshowpdf

-qtocdata
-qsmallstack
-qspill

IBM Copyright 2003