From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5342 invoked by alias); 22 Aug 2005 16:30:55 -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 5306 invoked by uid 22791); 22 Aug 2005 16:30:51 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 22 Aug 2005 16:30:51 +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 j7MGUnPx018126; Mon, 22 Aug 2005 12:30:49 -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 j7MGUlV09626; Mon, 22 Aug 2005 12:30:47 -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 j7MGUdDM014837; Mon, 22 Aug 2005 12:30:42 -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 j7MGUcJa031708; Mon, 22 Aug 2005 09:30:38 -0700 Received: (from rth@localhost) by ballpeen.sfbay.redhat.com (8.13.4/8.13.4/Submit) id j7MGUbha031707; Mon, 22 Aug 2005 09:30:37 -0700 Date: Mon, 22 Aug 2005 16:30:00 -0000 From: Richard Henderson To: Paolo Bonzini Cc: Leehod Baruch , GCC Development Subject: Re: Question about merging two instructions. Message-ID: <20050822163037.GA31598@redhat.com> Mail-Followup-To: Richard Henderson , Paolo Bonzini , Leehod Baruch , GCC Development References: <4309D517.7040106@lu.unisi.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4309D517.7040106@lu.unisi.ch> User-Agent: Mutt/1.4.2.1i X-SW-Source: 2005-08/txt/msg00595.txt.bz2 On Mon, Aug 22, 2005 at 03:37:27PM +0200, Paolo Bonzini wrote: > It may still make sense changing the default case of > simplify_replace_rtx to invoke replace_rtx rather than returning x. But > this is unrelated, because nobody is currently passing a SET to > simplify_replace_rtx (only expressions), and you should do the same: > *you* said you want to replace on the RHS, so you really want to invoke > simplify_replace_rtx on the RHS. Agreed. If you're concerned about the LHS, use reg_overlap_mentioned_p and abort the optimization. r~