From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6360 invoked by alias); 26 Nov 2001 22:45:52 -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 6339 invoked from network); 26 Nov 2001 22:45:49 -0000 Received: from unknown (HELO wf-rch.cirr.com) (24.7.109.109) by hostedprojects.ges.redhat.com with SMTP; 26 Nov 2001 22:45:49 -0000 Received: from acm.org (laptop [10.0.0.3]) by wf-rch.cirr.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id fAQMjju03195; Mon, 26 Nov 2001 16:45:45 -0600 Message-ID: <3C02C669.8010300@acm.org> Date: Sat, 17 Nov 2001 15:20:00 -0000 From: Corey Minyard User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.6) Gecko/20011121 X-Accept-Language: en-us MIME-Version: 1.0 To: Richard Henderson CC: gcc@gcc.gnu.org Subject: Re: Loop optimization bug with Ada front end on PPC (and probably Alpha) References: <3BFCA770.5070304@acm.org> <20011124124100.A2485@redhat.com> <3C0179C5.2090002@acm.org> <20011125175500.A11474@redhat.com> <3C0274ED.7000708@acm.org> <20011126134922.A24167@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00789.txt.bz2 Richard Henderson wrote: >On Mon, Nov 26, 2001 at 10:59:25AM -0600, Corey Minyard wrote: > >>Not all loops have loop->top set in this situation, because that's only >>set in bottom entry loops, it seems. >> > >Oh, duh. Look at scan_loop: loop->top is set in exactly the condition >that we're interested in and no other. That simplifies the code in >loop_iterations greatly. > >ia64 bootstrap underway. > Thanks, it passes my simple testcase. I'm bootstrapping on PowerPC now. You probably noticed, but the insn variable is no longer required. -Corey From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corey Minyard To: Richard Henderson Cc: gcc@gcc.gnu.org Subject: Re: Loop optimization bug with Ada front end on PPC (and probably Alpha) Date: Mon, 26 Nov 2001 14:45:00 -0000 Message-ID: <3C02C669.8010300@acm.org> References: <3BFCA770.5070304@acm.org> <20011124124100.A2485@redhat.com> <3C0179C5.2090002@acm.org> <20011125175500.A11474@redhat.com> <3C0274ED.7000708@acm.org> <20011126134922.A24167@redhat.com> X-SW-Source: 2001-11/msg01293.html Message-ID: <20011126144500.7kJrVSyluAPNI3qtIHWqWd9ZhlV9IMJfBvDSKfdWPnk@z> Richard Henderson wrote: >On Mon, Nov 26, 2001 at 10:59:25AM -0600, Corey Minyard wrote: > >>Not all loops have loop->top set in this situation, because that's only >>set in bottom entry loops, it seems. >> > >Oh, duh. Look at scan_loop: loop->top is set in exactly the condition >that we're interested in and no other. That simplifies the code in >loop_iterations greatly. > >ia64 bootstrap underway. > Thanks, it passes my simple testcase. I'm bootstrapping on PowerPC now. You probably noticed, but the insn variable is no longer required. -Corey