HP Fortran Programmer Guide HP-UX 11i v1, HP-UX 11i v2, and HP-UX 11i v3 (B3908-90032,December 2012)

Table 19 Values for the +Oinline_budget option
MeaningValues for n
Default level of inlining.= 100
More aggressive inlining. The optimizer is less restricted by compilation time and code size
when searching for eligible routines to inline.
> 100
Less aggressive inlining. The optimizer gives more weight to compilation time and code size
when determining whether to inline.
2 - 99
Only inline if it reduces code size.= 1
invokes millicode versions of a number of frequently called intrinsic functions; see Table on page
70. Millicode routines have very low call overhead and provide no error-handling. Use this
+O[no]libcalls
option to improve the performance of selected library routines only when your program does
not depend upon exception-handling.
The default is +Onolibcallsat optimization levels 0 and 1; at optimization level 2 or higher,
the default is +Olibcalls.
Table 20 Millicode versions of intrinsic functions
powcosacos
sinexpasin
tanlogatan
log10atan2
Enable [disable] support for errnoin libm functions.
The default is +Onolibmerrno.
+o[no]libmerrno
+O[no]loop_blockenables or disables blocking of
eligible loops for improved cache performance. The
+O[no]loop_block
+Onoloop_blockoption disables both automatic and
directive-specified loop blocking.
+Oloop_transformenables transformation of eligible
loops for improved cache performance. The most
+O[no]loop_transform
important transformation is the interchange of nested
loops to make the inner loop unit stride, resulting in fewer
cache misses. +Onoloop_transform disables
transformation of eligible loops. The default is
+Oloop_transform.
NOTE: This option is deprecated and not supported in
future releases. Use +inline_level.
This option controls inlining in fortran. The format for num
is N[.n], where num is either an integral value from0
+inline_level num
to 9or a value with a single decimal place from 0.0to
9.0. For more information on this option, see
F90(1)manpage.
+Oloop_unrollturns on loop unrolling. factor is the
unroll factor that controls the code expansion. The default
+O[no]loop_unroll[=factor]
unroll factor is 4; that is, four copies of the loop body.
By experimenting with different factors, you may improve
the performance of your program. This option is only
effective at optimization level 2 or higher. The default is
+Oloop_unroll=4.
+loop_unroll_jamenables loop unrolling and
jamming. +Onoloop_unroll_jam (the default) disables
+O[no]loop_unroll_jam
both automatic and directive-specified unroll and jam.
44 Compiling and linking