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: [PATCH] Fix MULT_HIGHPART_EXPR folding (PR tree-optimization/56918)


On Fri, Apr 12, 2013 at 10:10:45AM +0200, Marc Glisse wrote:
> unsigned_p changes the computation of the high part of the product:
> it returns early for unsigned products and adjusts the high part
> later for signed. overflow_dummy looks good. I don't remember
> exactly, but I think the overflow parameter is only there because
> the regular multiplication forwards to the wide multiplication.

Ok, I've changed the wide_mul_with_sign method call to pass uns instead of
false before committing.

	Jakub


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