gcc loop unrolling problem ??
Matt Fago
fago@caltech.edu
Thu Feb 12 15:23:00 GMT 2004
> The number of unrollings depends on size of the loop and is bound to 8
> maximally. Your loop has only single instruction so you get maximal
> unrolling. See documentation of --param max-unrolled-insns,
> max-unroll-times and friends.
Is this also the case for loops with a constant number of iterations (my
loops tend to be in powers of 3)? Should the documentation mention that
the default value for max-unroll-times=8?
Thanks,
Matt
More information about the Gcc
mailing list