From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30333 invoked by alias); 8 Jul 2010 23:22:32 -0000 Received: (qmail 30286 invoked by uid 48); 8 Jul 2010 23:22:19 -0000 Date: Thu, 08 Jul 2010 23:22:00 -0000 Message-ID: <20100708232219.30285.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/44883] Combine separate shift and add instructions into a single one In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg00947.txt.bz2 ------- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-08 23:22 ------- >So in function fwprop_addr before deciding propagate an expression should we also check if it is the only use of the corresponding def? It does somewhat. Though address cost might be lower for r2+r3 than just r8. Please make sure that fwprop_addr has the correct address cost. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|rtl-optimization |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44883