From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32708 invoked by alias); 22 Jan 2013 09:22:07 -0000 Received: (qmail 32698 invoked by uid 22791); 22 Jan 2013 09:22:06 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from na3sys009aog127.obsmtp.com (HELO na3sys009aog127.obsmtp.com) (74.125.149.107) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Jan 2013 09:22:00 +0000 Received: from sc-owa02.marvell.com ([199.233.58.137]) (using TLSv1) by na3sys009aob127.postini.com ([74.125.148.12]) with SMTP ID DSNKUP5aN/hOkYMO0ioXgrBLrn/pWQCJBmb8@postini.com; Tue, 22 Jan 2013 01:22:00 PST Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by sc-owa02.marvell.com ([10.93.76.22]) with mapi; Tue, 22 Jan 2013 01:21:47 -0800 From: Xinyu Qi To: "gcc-patches@gcc.gnu.org" Date: Tue, 22 Jan 2013 09:22:00 -0000 Subject: RE: [PING][PATCH, ARM, iWMMXT] Fix define_constants for WCGR Message-ID: <4737A960563B524DA805CA602BE04B3069CA83A0BE@SC-VEXCH2.marvell.com> References: <1338264799-12374-1-git-send-email-mattst88@gmail.com> <1338264799-12374-2-git-send-email-mattst88@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 X-SW-Source: 2013-01/txt/msg01077.txt.bz2 Ping, Fix ChangeLog * config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment. * config/arm/iwmmxt.md (WCGR0): Update. (WCGR1, WCGR2, WCGR3): Likewise. > Hi, >=20 > It is necessary to sync the constants WCGR0 to WCGR3 in iwmmxt.md with > the IWMMXT_GR_REGNUM in arm.h. >=20 > ChangeLog > * config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment. > * config/arm/iwmmxt.md (WCGR0, WCGR1): Update. > * config/arm/iwmmxt.md (WCGR2, WCGR3): Likewise. >=20 > Index: config/arm/arm.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D > --- config/arm/arm.h (revision 194603) > +++ config/arm/arm.h (working copy) > @@ -947,6 +947,8 @@ >=20 > #define FIRST_IWMMXT_REGNUM (LAST_HI_VFP_REGNUM + 1) > #define LAST_IWMMXT_REGNUM (FIRST_IWMMXT_REGNUM + 15) > + > +/* Need to sync with WCGR in iwmmxt.md. */ > #define FIRST_IWMMXT_GR_REGNUM (LAST_IWMMXT_REGNUM + 1) > #define LAST_IWMMXT_GR_REGNUM (FIRST_IWMMXT_GR_REGNUM + > 3) >=20 > Index: config/arm/iwmmxt.md > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D > --- config/arm/iwmmxt.md (revision 194603) > +++ config/arm/iwmmxt.md (working copy) > @@ -19,12 +19,12 @@ > ;; along with GCC; see the file COPYING3. If not see ;; > . >=20 > -;; Register numbers > +;; Register numbers. Need to sync with FIRST_IWMMXT_GR_REGNUM in > arm.h > (define_constants > - [(WCGR0 43) > - (WCGR1 44) > - (WCGR2 45) > - (WCGR3 46) > + [(WCGR0 96) > + (WCGR1 97) > + (WCGR2 98) > + (WCGR3 99) > ] > ) >=20 >=20 > OK? >=20 > Thanks, > Xinyu