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: [Committed] S/390: Provide alc patterns for overflow checks


On Thu, Aug 30, 2007 at 09:01:17AM +0200, Andreas Krebbel wrote:
> Hello,
> 
> the S/390 back end currently does not provide patterns which make the
> condition code available for overflow checks like a + b + carry < b.
> The attached patch adds the missing patterns.

   Do you have an example piece of source which triggers combine to
generate such patterns? I'm working on canonicalizing such operations in
simplify-rtx.c and I've tried with no success to make combine create
such patterns.

-- 
Rask Ingemann Lambertsen


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