public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Christophe Lyon <christophe.lyon@linaro.org>
To: "Bin.Cheng" <amker.cheng@gmail.com>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>,
	Richard Biener <rguenther@suse.de>,
		gcc-patches List <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] Fix PR80281
Date: Wed, 05 Apr 2017 11:56:00 -0000	[thread overview]
Message-ID: <CAKdteOZ4CbO5cHq9VQJubSwskdNbspW5HgEbyVVy1vVoEwDiow@mail.gmail.com> (raw)
In-Reply-To: <CAHFci29BvTObmFnUfhghjHZ3Nzgyg4wDrN19qkha1-DYFekD0g@mail.gmail.com>

On 5 April 2017 at 13:41, Bin.Cheng <amker.cheng@gmail.com> wrote:
> On Wed, Apr 5, 2017 at 12:38 PM, Markus Trippelsdorf
> <markus@trippelsdorf.de> wrote:
>> On 2017.04.03 at 15:20 +0200, Richard Biener wrote:
>>> I'm re-testing the following variant.
>>>
>>> Richard.
>>>
>>> 2017-04-03  Richard Biener  <rguenther@suse.de>
>>>
>>>       PR middle-end/80281
>>>       * match.pd (A + (-B) -> A - B): Make sure to preserve unsigned
>>>       arithmetic done for the negate or the plus.  Simplify.
>>>       (A - (-B) -> A + B): Likewise.
>>>       * fold-const.c (split_tree): Make sure to not negate pointers.
>>>
>>>       * gcc.dg/torture/pr80281.c: New testcase.
>>
>> gcc.dg/tree-ssa/pr40921.c started to fail with -march=skylake:
>>
>>  % gcc -march=skylake -c -O2 -fdump-tree-optimized -ffast-math -c gcc.dg/tree-ssa/pr40921.c
>>  % cat pr40921.i.227t.optimized | grep "\-y"
>>    _3 = -y_4(D);
> Also on AArch64.
>

And on some arm configurations, if that's easier to reproduce:
* -mthumb/-march=armv8-a/-mfpu=crypto-neon-fp-armv8/-mfloat-abi=hard
* --with-cpu=cortex-a15 --with-fpu=neon-vfpv4
* --with-cpu=cortex-a57 --with-fpu=crypto-neon-fp-armv8

Thanks,

Christophe

> Thanks,
> bin
>>
>> --
>> Markus

  reply	other threads:[~2017-04-05 11:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-03 11:48 Richard Biener
2017-04-03 13:07 ` Marc Glisse
2017-04-03 13:20   ` Richard Biener
2017-04-05 11:38     ` Markus Trippelsdorf
2017-04-05 11:41       ` Bin.Cheng
2017-04-05 11:56         ` Christophe Lyon [this message]
2017-04-06 11:24           ` Richard Biener

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=CAKdteOZ4CbO5cHq9VQJubSwskdNbspW5HgEbyVVy1vVoEwDiow@mail.gmail.com \
    --to=christophe.lyon@linaro.org \
    --cc=amker.cheng@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=markus@trippelsdorf.de \
    --cc=rguenther@suse.de \
    /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).