From: Jeff Law <law@redhat.com>
To: Christophe Lyon <christophe.lyon@linaro.org>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: Improve DOM's ability to derive equivalences when traversing edges
Date: Thu, 31 Aug 2017 09:23:00 -0000 [thread overview]
Message-ID: <361a4c24-180d-ea48-0117-e1e24d71a4ba@redhat.com> (raw)
In-Reply-To: <CAKdteOY4G5TjBE7K=Rx+43NGiwQs3vra=uJ5_OexftTvqHo90Q@mail.gmail.com>
On 08/29/2017 09:42 AM, Christophe Lyon wrote:
> On 29 August 2017 at 17:28, Jeff Law <law@redhat.com> wrote:
>> On 08/29/2017 03:13 AM, Christophe Lyon wrote:
>>> Hi Jeff,
>> [ ... ]
>>>>
>>>> commit a370df2c52074abbb044d1921a0c7df235758050
>>>> Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
>>>> Date: Tue Aug 29 05:03:36 2017 +0000
>>>>
>>>> * tree-ssa-dom.c (edge_info::record_simple_equiv): Call
>>>> derive_equivalences.
>>>> (derive_equivalences_from_bit_ior, record_temporary_equivalences):
>>>> Code moved into....
>>>> (edge_info::derive_equivalences): New private member function
>>>>
>>>> * gcc.dg/torture/pr57214.c: Fix type of loop counter.
>>>> * gcc.dg/tree-ssa/ssa-sink-16.c: Disable DOM.
>>>> * gcc.dg/tree-ssa/ssa-dom-thread-11.c: New test.
>>>> * gcc.dg/tree-ssa/ssa-dom-thread-12.c: New test.
>>>> * gcc.dg/tree-ssa/ssa-dom-thread-13.c: New test.
>>>> * gcc.dg/tree-ssa/ssa-dom-thread-14.c: New test.
>>>> * gcc.dg/tree-ssa/ssa-dom-thread-15.c: New test.
>>>> * gcc.dg/tree-ssa/ssa-dom-thread-16.c: New test.
>>>> * gcc.dg/tree-ssa/ssa-dom-thread-17.c: New test.
>>>>
>>>> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251397 138bc75d-0d04-0410-961f-82ee72b054a4
>>>>
>>>
>>> 3 of the new tests fail on arm-none-linux-gnueabihf
>>> --with-cpu=cortex-a15 --with-fpu=vfpv3-d16-fp16
>>>
>>> FAIL: gcc.dg/tree-ssa/ssa-dom-thread-11.c scan-tree-dump-times dom2
>>> "Threaded" 1
>>> FAIL: gcc.dg/tree-ssa/ssa-dom-thread-14.c scan-tree-dump-times dom2
>>> "Threaded" 1
>>> FAIL: gcc.dg/tree-ssa/ssa-dom-thread-16.c scan-tree-dump-times dom2
>>> "Threaded" 1
>>>
>>> they do pass when configuring for cpu cortex-a9/a15 and fpu neon-fp16/neon-vfpv4
>>>
>>> I do not have the dumps since it's automated testing; let me know if
>>> you need me to
>>> reproduce it manually and extract the dumps.
>> Strange. I can't reproduce this.
>>
>> /home/law/gcc-testing/gcc2/configure --target=arm-none-linux-gnueabihf
>> --with-cpu=cortex-a15 --with-fpu=vfpv3-d16-fp16
>>
>
> Sorry, it was a typo: I meant cortex-a5.
Ah. I see it now.
Isn't this really an indicator that the ARM test in
check_effective_target_logical_op_short_circuit is wrong?
AFAICT that test just looks to see if a particular preprocessor symbol
is defined.
WOuldn't it be better to check the output of -mprint-tune-info which
should make the test DTRT in all situations?
jeff
prev parent reply other threads:[~2017-08-31 2:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-29 8:36 Jeff Law
2017-08-29 10:06 ` Christophe Lyon
2017-08-29 15:15 ` Jeff Law
2017-08-29 15:48 ` Jeff Law
2017-08-29 17:03 ` Christophe Lyon
2017-08-31 9:23 ` Jeff Law [this message]
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=361a4c24-180d-ea48-0117-e1e24d71a4ba@redhat.com \
--to=law@redhat.com \
--cc=christophe.lyon@linaro.org \
--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).