This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [COMMITTED][PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jiong Wang <jiong dot wang at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 26 Sep 2014 08:28:01 -0700
- Subject: Re: [COMMITTED][PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Authentication-results: sourceware.org; auth=none
- References: <CACgzC7AJUvPr_uQpMq7zS_570TKAqe12vp1T=D2s=7xUmmh6dA at mail dot gmail dot com> <54170583 dot 4040002 at arm dot com> <000001cfd17b$25ec75f0$71c561d0$ at arm dot com> <541BC46F dot 8050401 at redhat dot com> <541C131B dot 7080805 at arm dot com> <541C50A0 dot 9050807 at redhat dot com> <541C53B2 dot 1020007 at arm dot com> <541C578E dot 9080606 at redhat dot com> <541FF8D2 dot 2070807 at arm dot com> <54206191 dot 5050703 at redhat dot com> <542309BF dot 9010507 at arm dot com> <000001cfd89e$112e67c0$338b3740$ at arm dot com> <54242F1B dot 7060909 at arm dot com> <542441A7 dot 1060504 at redhat dot com> <54244634 dot 9050702 at arm dot com> <CAMe9rOpNNW5=sHXJsT4BKRgMG1siYSaaDmJ-e17fcgbCKcMguw at mail dot gmail dot com> <542582D9 dot 3040206 at arm dot com>
On Fri, Sep 26, 2014 at 8:14 AM, Jiong Wang <jiong.wang@arm.com> wrote:
>
> On 26/09/14 16:05, H.J. Lu wrote:
>>
>> On Thu, Sep 25, 2014 at 9:43 AM, Jiong Wang <jiong.wang@arm.com> wrote:
>>>
>>> On 25/09/14 17:24, Jeff Law wrote:
>>>>
>>>> On 09/25/14 09:04, Jiong Wang wrote:
>>>>>
>>>>> new patch updated.
>>>>>
>>>>> pass bootstrap and no regression, both check-gcc and check-g++, on the
>>>>> x86.
>>>>>
>>>>> OK for trunk?
>>>>>
>>>>> thanks.
>>>>>
>>>>> gcc/
>>>>> * shrink-wrap.c (move_insn_for_shrink_wrap): Initialize the
>>>>> live-in
>>>>> of
>>>>> new created BB as the intersection of live-in from "old_dest" and
>>>>> live-out
>>>>> from "bb".
>>>>
>>>> Please include a ChangeLog entry for the testsuite. Something like:
>>>>
>>>> * gcc.target/i386/shrink_wrap_1.c: New test.
>>
>> This fails on Linux/x86 and with -m32 on Linux/x86-64.
>
> sorry, my test machine is x86-64, I think the shrink wrap test itself is
> very fragile because
> it's highly related insn generated.
>
> could you mark that testcase using something like
> "dg-require-effective-target lp64"?
I checked in this patch to skip it on ia32.
--
H.J.
---
Index: ChangeLog
===================================================================
--- ChangeLog (revision 215644)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2014-09-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/shrink_wrap_1.c: Skip ia32.
+
2014-09-26 Jakub Jelinek <jakub@redhat.com>
* g++.dg/compat/struct-layout-1_generate.c: Add -Wno-abi
Index: gcc.target/i386/shrink_wrap_1.c
===================================================================
--- gcc.target/i386/shrink_wrap_1.c (revision 215644)
+++ gcc.target/i386/shrink_wrap_1.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -fdump-rtl-pro_and_epilogue" } */
enum machine_mode
- References:
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- RE: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- RE: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- [COMMITTED][PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [COMMITTED][PATCH, 2/2] shrink wrap a function with a single loop: split live_edge
- Re: [COMMITTED][PATCH, 2/2] shrink wrap a function with a single loop: split live_edge