This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pr26026: udiv and umod optimization


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]