From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20942 invoked by alias); 15 Jan 2014 10:45:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20932 invoked by uid 89); 15 Jan 2014 10:45:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: service87.mimecast.com Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Jan 2014 10:45:57 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 15 Jan 2014 10:45:55 +0000 Received: from shawin053 ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 15 Jan 2014 10:45:51 +0000 From: "Terry Guo" To: "Richard Earnshaw" Cc: References: <000001cf11d3$71478d40$53d6a7c0$@arm.com> <52D65AC2.8000704@arm.com> In-Reply-To: <52D65AC2.8000704@arm.com> Subject: RE: [GCC, ARM] Backport trunk fix to 4.8 branch to properly handle rtx of ARM PLD instruction Date: Wed, 15 Jan 2014 10:45:00 -0000 Message-ID: <000001cf11de$f6249c00$e26dd400$@arm.com> MIME-Version: 1.0 X-MC-Unique: 114011510455500201 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00855.txt.bz2 > -----Original Message----- > From: Richard Earnshaw > Sent: Wednesday, January 15, 2014 5:54 PM > To: Terry Guo > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [GCC, ARM] Backport trunk fix to 4.8 branch to properly handle > rtx of ARM PLD instruction >=20 > On 15/01/14 09:23, Terry Guo wrote: > > Hi there, > > > > With trunk enhancement at > > http://gcc.gnu.org/ml/gcc-patches/2013-11/msg00533.html, gcc can > > properly handle PLD rtx. Otherwise the PLD rtx will be treated as SET > > rtx and gcc will end up with ICE. The attached patch intends to back > > port this enhancement to 4.8 branch. Tested with gcc regression test, > > no new regressions. Is it ok to back port? > > > > BR, > > Terry > > > > 2014-01-15 Terry Guo > > > > Backported from mainline r204575 and applied to file arm.c. > > 2013-11-08 James Greenhalgh > > > > * config/arm/aarch-common.c > > (search_term): New typedef. > > (shift_rtx_costs): New array. > > (arm_rtx_shift_left_p): New. > > (arm_find_sub_rtx_with_search_term): Likewise. > > (arm_find_sub_rtx_with_code): Likewise. > > (arm_early_load_addr_dep): Add sanity checking. > > (arm_no_early_alu_shift_dep): Likewise. > > (arm_no_early_alu_shift_value_dep): Likewise. > > (arm_no_early_mul_dep): Likewise. > > (arm_no_early_store_addr_dep): Likewise. > > >=20 > Is there a PR for this? >=20 No. It is firstly found on arm/embedded-4_8-branch and then found on upstream 4.8 branch. The trunk hasn't such issue. Do I need to report a PR against 4.8? If so, I am willing to do it along with the test case. BR, Terry