public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Marc Glisse <marc.glisse@inria.fr>
To: "Hurugalawadi, Naveen" <Naveen.Hurugalawadi@caviumnetworks.com>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] Fix PR31096
Date: Thu, 31 Mar 2016 09:32:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.20.1603311120300.1831@laptop-mg.saclay.inria.fr> (raw)
In-Reply-To: <SN2PR0701MB102491E5EF1A9EE96C8619688E990@SN2PR0701MB1024.namprd07.prod.outlook.com>

On Thu, 31 Mar 2016, Hurugalawadi, Naveen wrote:

> Hi,
>
> Please find attached the patch that fixes the PR31096.
> Should the optimization be extended to addition and other
> operations as well?
>
> Please review the patch and let me know if its okay?
>
> Regression tested on X86_64.
>
> Thanks,
> Naveen
>
> 2016-03-31  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
>
>        * match.pd (cmp (mult:cs @0 @1) (mult:cs @2 @1)) : New Pattern.
>
>        * gcc.dg/pr31096.c: New testcase.

Looks like you are turning x*-1 < y*-1 into x<y? That doesn't work...

-- 
Marc Glisse

  reply	other threads:[~2016-03-31  9:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-31  9:19 Hurugalawadi, Naveen
2016-03-31  9:32 ` Marc Glisse [this message]
2016-04-05  9:09   ` Hurugalawadi, Naveen
2016-04-05  9:17     ` Marc Glisse
2016-04-07 11:04       ` Hurugalawadi, Naveen
2016-04-07 11:28         ` Marc Glisse
2016-04-12  8:25           ` Hurugalawadi, Naveen
2016-04-12  9:33             ` Marc Glisse
2016-04-14  6:46               ` Hurugalawadi, Naveen
2016-04-15 16:25                 ` Marc Glisse
2016-07-13 20:35                 ` Jeff Law
2016-11-11 10:20                   ` Hurugalawadi, Naveen
2016-11-23  9:56                     ` Richard Biener
2016-03-31  9:35 ` Ramana Radhakrishnan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1603311120300.1831@laptop-mg.saclay.inria.fr \
    --to=marc.glisse@inria.fr \
    --cc=Naveen.Hurugalawadi@caviumnetworks.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).