From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3186 invoked by alias); 4 Dec 2001 02:27:13 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 2896 invoked from network); 4 Dec 2001 02:27:11 -0000 Received: from unknown (HELO dot.cygnus.com) (205.180.230.224) by sources.redhat.com with SMTP; 4 Dec 2001 02:27:11 -0000 Received: (from rth@localhost) by dot.cygnus.com (8.11.2/8.11.2) id fB42R6Z07429; Mon, 3 Dec 2001 18:27:06 -0800 X-Authentication-Warning: dot.cygnus.com: rth set sender to rth@redhat.com using -f Date: Mon, 03 Dec 2001 18:27:00 -0000 From: Richard Henderson To: Zack Weinberg Cc: gcc@gcc.gnu.org Subject: Re: messy combine problem - PPC Message-ID: <20011203182706.B7420@redhat.com> Mail-Followup-To: Richard Henderson , Zack Weinberg , gcc@gcc.gnu.org References: <20011203204934.GG292@codesourcery.com> <20011203150606.D7284@redhat.com> <20011203235312.GK292@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011203235312.GK292@codesourcery.com>; from zack@codesourcery.com on Mon, Dec 03, 2001 at 03:53:12PM -0800 X-SW-Source: 2001-12/txt/msg00099.txt.bz2 On Mon, Dec 03, 2001 at 03:53:12PM -0800, Zack Weinberg wrote: > I'll try this, but will it inhibit desirable optimizations? No. > > Also, that should really be using regs_invalidated_by_call rather > > than call_used_regs. Not that it'll make too much difference, > > since we don't do a whole lot of combining with fixed registers. > > Huh? for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) - if (call_used_regs[i]) + if (TEST_HARD_REG_BIT (regs_invalidated_by_call, i)) r~