From patchwork Sat Nov 13 18:00:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 71065 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id E8179B711B for ; Sun, 14 Nov 2010 05:01:49 +1100 (EST) Received: (qmail 414 invoked by alias); 13 Nov 2010 18:01:46 -0000 Received: (qmail 406 invoked by uid 22791); 13 Nov 2010 18:01:46 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, TW_FC, TW_LW X-Spam-Check-By: sourceware.org Received: from c2beaomr10.btconnect.com (HELO mail.btconnect.com) (213.123.26.188) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 13 Nov 2010 18:01:10 +0000 Received: from host81-138-1-83.in-addr.btopenworld.com (EHLO thor.office) ([81.138.1.83]) by c2beaomr10.btconnect.com with ESMTP id AQG52588; Sat, 13 Nov 2010 18:00:46 +0000 (GMT) Cc: Michael Meissner , GCC Patches , David Edelsohn Message-Id: <8BBDEE74-1398-44A3-91F9-74BA5F1DDD39@sandoe-acoustics.co.uk> From: IainS To: Richard Henderson In-Reply-To: <20101111200635.GB11922@hungry-tiger.westford.ibm.com> Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [patch 4/N][rs6000, cft] -mfused-add cleanup Date: Sat, 13 Nov 2010 18:00:30 +0000 References: <4CDB3BA6.1010500@redhat.com> <4CDC3159.8040705@redhat.com> <20101111200635.GB11922@hungry-tiger.westford.ibm.com> X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0301.4CDED23F.0017, actions=tag X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0204.4CDED258.01DB, ss=1, fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi Richard, On 11 Nov 2010, at 20:06, Michael Meissner wrote: > On Thu, Nov 11, 2010 at 10:09:29AM -0800, Richard Henderson wrote: >> According to Meissner via IRC, there are a number of regressions on >> the >> powerpc port. One example is cc.target/powerpc/ppc-fmadd-3.c, a >> testcase >> that wants to see FMA generated even when the exact operation isn't >> available. I think there is some sense to this, as indicated in the >> comment I added to the code. >> >> Ok? This (I think it became r166611) caused: http://gcc.gnu.org/ml/gcc-regression/2010-11/msg00148.html with the diff between stage 2 & stage 3 libcpp/symtab.o: $ diff -u s2s.txt s3s.txt 00000864 lfd f0,0xa30(r26) 00000868 lwz r3,0x0(r31) -0000086c fneg f30,f28 -00000870 fmadd f31,f30,f28,f31 +0000086c fmul f13,f28,f28 +00000870 fsub f31,f31,f13 00000874 fcmpu cr7,f31,f0 00000878 blt cr7,0x940 0000087c beq cr7,0x938 any more detail/analysis needed ... let me know. cheers Iain --- s2s.txt 2010-11-13 17:56:37.000000000 +0000 +++ s3s.txt 2010-11-13 17:56:43.000000000 +0000 @@ -1,4 +1,4 @@ -s2st.o.stripped: +s3st.o.stripped: @@ -547,8 +547,8 @@ 00000860 fdiv f31,f31,f30