Using the cDEC$ UNROLL Directive to Control Loop Unrolling

The cDEC$ UNROLL directive allows you to specify the number of times certain counted DO loops will be unrolled. Place the cDEC$ UNROLL directive before the DO loop you want to control the unrolling of.

Using this directive for a specific loop overrides the value specified by the compiler option /unroll for that loop. The value specified by /unroll affects how many times all loops not controlled by their respective cDEC$ UNROLL directives are unrolled.

For more information: