From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1746 invoked by alias); 27 Jun 2005 19:56:29 -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 1734 invoked by uid 22791); 27 Jun 2005 19:56:27 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 27 Jun 2005 19:56:27 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j5RJuL8Y032378; Mon, 27 Jun 2005 15:56:21 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j5RJuLu00941; Mon, 27 Jun 2005 15:56:21 -0400 Received: from ballpeen.sfbay.redhat.com (ballpeen.sfbay.redhat.com [172.16.24.33]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id j5RJuJWM010204; Mon, 27 Jun 2005 15:56:20 -0400 Received: from ballpeen.sfbay.redhat.com (ballpeen.sfbay.redhat.com [127.0.0.1]) by ballpeen.sfbay.redhat.com (8.13.4/8.13.1) with ESMTP id j5RJuJt7002619; Mon, 27 Jun 2005 12:56:19 -0700 Received: (from rth@localhost) by ballpeen.sfbay.redhat.com (8.13.4/8.13.4/Submit) id j5RJuJXv002618; Mon, 27 Jun 2005 12:56:19 -0700 Date: Mon, 27 Jun 2005 19:56:00 -0000 From: Richard Henderson To: Fariborz Jahanian Cc: gcc@gcc.gnu.org Subject: Re: [RFH] - Less than optimal code compiling 252.eon -O2 for x86 Message-ID: <20050627195619.GA12102@redhat.com> Mail-Followup-To: Richard Henderson , Fariborz Jahanian , gcc@gcc.gnu.org References: <6269B965-AF17-4FBD-B3ED-B1BA96936380@apple.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6269B965-AF17-4FBD-B3ED-B1BA96936380@apple.com> User-Agent: Mutt/1.4.2.1i X-SW-Source: 2005-06/txt/msg01064.txt.bz2 On Mon, Jun 27, 2005 at 12:21:01PM -0700, Fariborz Jahanian wrote: > FYI, the change to rtl in -O2 vs. -O1 is that -O2 includes -fforce- > mem which forces memory operands to registers to make memory > references common sub-expressions. Hmm. I would suspect this is obsolete now. We'll have forced everything into "registers" (or something equivalent that we can work with) during tree optimization. Any CSEs that can be made should have been made. r~