From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1816 invoked by alias); 29 Oct 2002 15:46:02 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 1769 invoked from network); 29 Oct 2002 15:46:01 -0000 Received: from unknown (HELO mx2.redhat.com) (12.150.115.133) by sources.redhat.com with SMTP; 29 Oct 2002 15:46:01 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.11.6/8.11.6) with ESMTP id g9TFieP13293; Tue, 29 Oct 2002 10:44:40 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g9TFjrl24230; Tue, 29 Oct 2002 10:45:54 -0500 Received: from vsop.sfbay.redhat.com (dhcp55-236.rdu.redhat.com [172.16.55.236]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g9TFjqD11060; Tue, 29 Oct 2002 07:45:52 -0800 Received: from vsop.sfbay.redhat.com (localhost.localdomain [127.0.0.1]) by vsop.sfbay.redhat.com (8.12.5/8.12.5) with ESMTP id g9TFk8kG002148; Tue, 29 Oct 2002 10:46:08 -0500 Received: (from rth@localhost) by vsop.sfbay.redhat.com (8.12.5/8.12.5/Submit) id g9TFk7wo002146; Tue, 29 Oct 2002 10:46:07 -0500 X-Authentication-Warning: vsop.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Tue, 29 Oct 2002 07:46:00 -0000 From: Richard Henderson To: Dale Johannesen Cc: gcc-patches@gcc.gnu.org Subject: Re: Patch: fix SPEC regressions Message-ID: <20021029154607.GR1658@redhat.com> Mail-Followup-To: Richard Henderson , Dale Johannesen , gcc-patches@gcc.gnu.org References: <1C457790-EAAD-11D6-B8DA-000393D76DAA@apple.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1C457790-EAAD-11D6-B8DA-000393D76DAA@apple.com> User-Agent: Mutt/1.4i X-SW-Source: 2002-10/txt/msg01770.txt.bz2 On Mon, Oct 28, 2002 at 11:40:27AM -0800, Dale Johannesen wrote: > ! /* (abs (final - initial) + abs_inc - 1 + abs_inc * > unroll_number - abs_inc) > / (abs_inc * unroll_number) */ Surely this simplifies to (abs(final-initial) + abs_inc*unroll_number - 1) / ... > + if (REGNO (x) >= regs->num) > + return 0; Ok. r~