|
VMS Help PLI, /OPTIMIZE[=(option,...)] *Conan The Librarian |
/OPTIMIZE=ALL (D)
/NOOPTIMIZE
Controls the optimization performed by the compiler. You can
select the following options:
For OpenVMS VAX Systems:
Option Description
-------------------------- -----------------------------------------------
ALL Perform all optimizations. This is equivalent
to /OPTIMIZE and is the default.
[NO]COMMON_SUBEXPRESSIONS [Do not] Eliminate common subexpressions.
[NO]DISJOINT [Do not] Place local variables in multiple
registers.
[NO]INLINE [Do not] Automatically provide inline
expansion of procedures to provide optimized
code.
[NO]INVARIANT [Do not] Remove invariant expressions from
loops.
[NO]LOCALS_IN_REGISTERS [Do not] Place local variables in registers.
[NO]PEEPHOLE [Do not] Perform pattern replacement on the
generated machine code.
[NO]RESULT_INCORPORATION [Do not] Collapse binary arithmetic operations
into 3-operand intructions.
For OpenVMS AXP Systems:
Option Description
--------------------- ---------------------------------------------------
LEVEL=n Specifies the level of optimization based on a
value from 0 to 5. Zero (0) specifies no optimiza-
tion and is equivalent to /NOOPTIMIZE. The default
value for LEVEL is 4.
UNROLL=n Specifies the number of times to unroll loops, based
on a value from 1 to 16. If the /UNROLL option is
not specified, a default unroll amount of 4 is used.
/LEVEL must be specified as 3 or greater to enable
loop unrolling.
INLINE=NONE Suppresses all inlining.
INLINE=MANUAL Inlines the calls you explicitly request to be
inlined.
INLINE=AUTOMATIC Inlines the calls in the MANUAL category plus any
additional calls that improve performance.
INLINE=ALL Inlines every call that is possible while still
generating correct code.
Note that the value of n in LEVEL=n turns on the INLINE=option
qualifier as follows
Level Inlining mode
----- -------------
0 none
1 none
2 manual
3 manual
4 automatic
For levels other than LEVEL=0, the INLINE=option qualifier is
honored if explicitly given on the command line.
|
|