From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20883 invoked by alias); 28 Oct 2004 04:28:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 20870 invoked by uid 48); 28 Oct 2004 04:28:02 -0000 Date: Thu, 28 Oct 2004 04:28:00 -0000 Message-ID: <20041028042802.20869.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040728170038.16799.steinmtz@us.ibm.com> References: <20040728170038.16799.steinmtz@us.ibm.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/16799] PowerPC - load reuse opportunity X-Bugzilla-Reason: CC X-SW-Source: 2004-10/txt/msg03432.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-28 04:27 ------- Fixed on the mainline (note this is powerp64-darwin but should represent powerpc64-linux closely): _foo: lwz r0,0(r3) .align32 4,0x60000000 L2: subf r9,r0,r3 lwz r0,0(r9) mr r3,r9 cmpdi cr7,r0,0 beq cr7,L2 lis r2,ha16(L_q$non_lazy_ptr) ld r2,lo16(L_q$non_lazy_ptr)(r2) std r9,0(r2) blr .comm _q,8 -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16799