opt_unroll_loops

Controls the use of loop unrolling optimization.

Syntax

#pragma opt_unroll_loops on | off | reset

Targets
All platforms.
Remarks

If you enable this pragma, the compiler places multiple copies of a loop’s statements inside a loop to improve its speed.

This pragma does not correspond to any panel setting. To check this setting, use __option (opt_unroll_loops), described in Checking Settings. This settings is related to the “global_optimizer” level.