From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9977 invoked by alias); 31 Oct 2002 23:18:29 -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 9924 invoked from network); 31 Oct 2002 23:18:28 -0000 Received: from unknown (HELO mx2.redhat.com) (12.150.115.133) by sources.redhat.com with SMTP; 31 Oct 2002 23:18:28 -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 g9VNH9P05381; Thu, 31 Oct 2002 18:17:09 -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 g9VNIMl02439; Thu, 31 Oct 2002 18:18:22 -0500 Received: from localhost.localdomain (frothingslosh.sfbay.redhat.com [172.16.24.27]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g9VNILD23504; Thu, 31 Oct 2002 15:18:21 -0800 Received: (from rth@localhost) by localhost.localdomain (8.11.6/8.11.6) id g9VNILm05326; Thu, 31 Oct 2002 15:18:21 -0800 X-Authentication-Warning: localhost.localdomain: rth set sender to rth@redhat.com using -f Date: Thu, 31 Oct 2002 15:18:00 -0000 From: Richard Henderson To: Dale Johannesen Cc: gcc-patches@gcc.gnu.org Subject: Re: Patch: fix SPEC regressions Message-ID: <20021031231821.GG5029@redhat.com> Mail-Followup-To: Richard Henderson , Dale Johannesen , gcc-patches@gcc.gnu.org References: <20021029183821.GB3036@redhat.com> <986ACCAA-EB93-11D6-B8DA-000393D76DAA@apple.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <986ACCAA-EB93-11D6-B8DA-000393D76DAA@apple.com> User-Agent: Mutt/1.4i X-SW-Source: 2002-10/txt/msg01969.txt.bz2 On Tue, Oct 29, 2002 at 03:10:20PM -0800, Dale Johannesen wrote: > As you point out this simplifies to > (abs(final-initial) + abs_inc*unroll_number - 1) / t1 Thanks for the detailed explanation, but that still begs the question of why we don't simplify the expression before computing it. r~