disabling loop unrolling in GCC
Dotan Shavit
dotan at shavitos.com
Mon Dec 21 16:41:18 IST 2009
On Monday 21 December 2009 14:00:39 Shachar Shemesh wrote:
> Where it gets worrying is when I try to cancel loop unrolling. I tried
> "-fno-unroll-loops" and "-fno-peel-loops", to no effect. I even tried
> messing with the --param option (max-unrolled-insns, max-unroll-times,
> max-peel-times) to no noticeable effect
>
max-completely-peeled-insns is your friend
This param's value is also the difference between -O3 and -O2 you were missing
More information about the Linux-il
mailing list