From patchwork Sat Jul 17 17:29:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 59146 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 81513B70A4 for ; Sun, 18 Jul 2010 03:29:51 +1000 (EST) Received: (qmail 25385 invoked by alias); 17 Jul 2010 17:29:50 -0000 Received: (qmail 25375 invoked by uid 22791); 17 Jul 2010 17:29:49 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-wy0-f175.google.com (HELO mail-wy0-f175.google.com) (74.125.82.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 17 Jul 2010 17:29:45 +0000 Received: by wye20 with SMTP id 20so3577507wye.20 for ; Sat, 17 Jul 2010 10:29:43 -0700 (PDT) Received: by 10.227.129.13 with SMTP id m13mr1775024wbs.179.1279387783050; Sat, 17 Jul 2010 10:29:43 -0700 (PDT) Received: from thor.office (host81-138-1-83.in-addr.btopenworld.com [81.138.1.83]) by mx.google.com with ESMTPS id a1sm24969795wbb.14.2010.07.17.10.29.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Jul 2010 10:29:42 -0700 (PDT) Cc: "H.J. Lu" , Jeff Law , GCC Patches Message-Id: <20064500-8512-41FB-A4F0-F11FD254A53E@sandoe-acoustics.co.uk> From: IainS To: Bernd Schmidt In-Reply-To: <4C41E5A0.3050907@codesourcery.com> Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: New optimization for reload_combine Date: Sat, 17 Jul 2010 18:29:40 +0100 References: <4C4035C3.9080305@codesourcery.com> <4C40A5BD.9080208@redhat.com> <4C40F005.3060507@codesourcery.com> <4C41BD52.5040905@codesourcery.com> <4C41D377.9050303@codesourcery.com> <4C41E5A0.3050907@codesourcery.com> 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 On 17 Jul 2010, at 18:17, Bernd Schmidt wrote: > On 07/17/2010 06:14 PM, H.J. Lu wrote: >> On Sat, Jul 17, 2010 at 8:59 AM, Bernd Schmidt > > wrote: >>> On 07/17/2010 05:03 PM, H.J. Lu wrote: >>>> It is more than that. It failed to boostrap on Linux/ia32 when >>>> configured with >>>> >>>> --enable-clocale=gnu --with-system-zlib --enable-shared >>>> --with-demangler-in-ld --with-fpmath=sse >>> >>> I can't seem to reproduce this. Is that the full command line? >>> >>> >> >> I used: >> >> ../src-trunk/configure \ >> --enable-clocale=gnu --with-system-zlib --enable-shared --with- >> demangler-in-ld -with-plugin-ld=ld.gold --enable-gold --with- >> fpmath=sse >> >> on Fedora 12/ia32. > > I'm on Gentoo, without gold - not sure whether that made a difference, > but I'm not seeing these failures. I don't have access to SPEC2k6 > either. Can you isolate any testcases? I don't have gold either - on darwin. on i686-apple-darwin: recog.o and reg-stack.o fail stage2/3 compare here is recog.o (stage2 vs stage3) stripped binaries => otool -tv ( basically turn the text section into disassembled). It doesn't look like a debug-related diff to me - but more like what you posted earlier. cheers Iain --- r2-code.s 2010-07-17 18:25:11.000000000 +0100 +++ r3-code.s 2010-07-17 18:25:19.000000000 +0100 @@ -1,4 +1,4 @@ -r2.o.stripped: +r3.o.stripped: (__TEXT,__text) section _memory_address_addr_space_p: 00000000 pushl %ebx @@ -6400,8 +6400,8 @@ 0000596f leal 0x40(%esp),%edi 00005973 nopw 0x00(%eax,%eax) 00005979 nopl 0x00000000(%eax) -00005980 leal 0xfc(%esi),%eax -00005983 addl $0x01,%esi +00005980 addl $0x01,%esi +00005983 leal 0xfb(%esi),%eax 00005986 cmpl $0x05,%esi 00005989 cmovgel %eax,%esi 0000598c movl 0x00(%ebp,%esi,8),%eax