From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28159 invoked by alias); 8 Apr 2011 17:28:56 -0000 Received: (qmail 28150 invoked by uid 22791); 8 Apr 2011 17:28:55 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU X-Spam-Check-By: sourceware.org Received: from nm1-vm0.bt.bullet.mail.ird.yahoo.com (HELO nm1-vm0.bt.bullet.mail.ird.yahoo.com) (212.82.108.94) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 08 Apr 2011 17:28:50 +0000 Received: from [212.82.108.229] by nm1.bt.bullet.mail.ird.yahoo.com with NNFMP; 08 Apr 2011 17:28:48 -0000 Received: from [212.82.108.224] by tm2.bt.bullet.mail.ird.yahoo.com with NNFMP; 08 Apr 2011 17:28:48 -0000 Received: from [127.0.0.1] by omp1001.bt.mail.ird.yahoo.com with NNFMP; 08 Apr 2011 17:28:48 -0000 Received: (qmail 10789 invoked by uid 60001); 8 Apr 2011 17:28:48 -0000 Message-ID: <737654.9385.qm@web87112.mail.ird.yahoo.com> Received: from [194.200.65.239] by web87112.mail.ird.yahoo.com via HTTP; Fri, 08 Apr 2011 18:28:48 BST Date: Fri, 08 Apr 2011 17:28:00 -0000 From: Graham Stott Subject: Re: patch to fix PR 48435 To: Vladimir Makarov , Jeff Law Cc: gcc-patches In-Reply-To: <4D9F272B.5090308@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2011-04/txt/msg00650.txt.bz2 Vladimir, The wrong PR 4435 was in referrenced the commit=20 --- On Fri, 8/4/11, Jeff Law wrote: > From: Jeff Law > Subject: Re: patch to fix PR 48435 > To: "Vladimir Makarov" > Cc: "gcc-patches" > Date: Friday, 8 April, 2011, 16:18 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > On 04/07/11 13:41, Vladimir Makarov wrote: > > The following patch should solve problem > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48435.=A0 > It might solve other > > latest IRA problems too including performance related > ones.=A0 The patch > > is for targets which require some values to be placed > in hard registers > > starting with an even (odd) hard registers. > >=20 > > I already addressed an analogous problem recently and > the patch I sent > > that time although solved some problems it created > even more new > > problems.=A0 I should acknowledge this. > >=20 > > The problem was in that profitable hard regs were used > for colorability > > criterion and finding hard registers where allocno > values can be resided > > but *also* as starting allocno hard registers.=A0 > It resulted in spilling > > allocnos which should be placed in multi-registers > starting on a > > specific border because profitable hard registers were > only starting > > registers and when we calculated number of available > hard registers > > multi-register allocnos can not fit only in their > starting hard registers. > >=20 > > The following patch was successfully bootstrapped on > x86/x86-64 and on > > i686 with H.J.'s autotester options. > >=20 > > OK to commit? > >=20 > > 2011-04-07=A0 Vladimir Makarov > >=20 > >=A0 =A0=A0=A0PR 4435 > >=A0 =A0=A0=A0* ira-color.c > (setup_profitable_hard_regs): Add comments. > >=A0 =A0=A0=A0Don't take prohibited hard > regs into account. > >=A0 > =A0=A0=A0(setup_conflict_profitable_regs): Rename > to > >=A0 =A0=A0=A0get_conflict_profitable_regs. > >=A0 =A0=A0=A0(check_hard_reg_p): Check > prohibited hard regs. > OK. > jeff > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ >=20 > iQEcBAEBAgAGBQJNnycrAAoJEBRtltQi2kC70DsH/A7fnYlawxDvYPeULGb1ctQD > 6LYWBWhJY4UDTiUNjLEzwALpq2XccVzubz1KEMI3wOndIHHYM2ykbsgTqCKmXqhf > ZthBjzNUtE/i7jSxK8JK3SEShqs2j7vaAvlkUKbdF7O61rhQap8MRnD2umHfrbet > PFea7MedpaC96mazzoyUWlzwWCt2CQhOlMFGlC44bxB1FrKy0nUjeIM7kWqjqG5W > Y9lV8RlC4O2cLST5qHpqtssLSO4omPlKsEUBEKW4E/87UCoFAxP0n8NOZ1EFgMsc > 3SlhSv+Dpinfh79gjHXt5+CH33bXTecf8Jfyd89Rn6huzL9OhAXJy+MjMi6cBm0=3D > =3DKSaH > -----END PGP SIGNATURE----- >