The C*$* scalar optimize
directive sets the level of
dusty-deck and other serial transformations performed. Unlike the
/scalaropt
command-line qualifier, the C*$*
scalar optimize
directive sets the level of loop-based
optimizations (for example, loop fusion) only, and not straight-code
optimizations (for example, dead-code elimination).
The meaning of each scalar optimize
level is as
follows:
Value | Meaning |
---|---|
0 | No transformations are performed. |
1 |
IF loops are changed into DO loops. Simple code floating out of loops is performed. Forward substitution of variables is performed. |
2 |
The full set of loop-based serial transformations is enabled. These include induction variable recognition, loop rerolling, loop unrolling, loop fusion, and array expansion. |
3 | Memory management is enabled, if
/roundoff=3 . |