pr26026: udiv and umod optimization

Alan Modra amodra@bigpond.net.au
Fri Mar 24 08:08:00 GMT 2006


On Fri, Mar 24, 2006 at 08:42:12AM +0100, Falk Hueffner wrote:
> Shouldn't this optimization also be applicable to EXACT_DIV_EXPR?

Yes, but you'd need some part of the compiler to generate an
EXACT_DIV_EXPR of the form a / (b << n) to make it worth checking.
I didn't think that likely.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Gcc-patches mailing list