Re: [AD] Remove -fno-strength-reduce

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Is the multiplication optimized out because it is in the condition clause
> of the for loop?

Yes, that's the point of strength reduction: general induction variables (iv 
with multiplier) are reduced to basic induction variables (iv without 
multiplier) and the bound calculations are hoisted out of the loop.  Then 
you can eliminate the original biv and iterate on the giv instead.

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/