public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Paolo Bonzini <paolo.bonzini@lu.unisi.ch>
Cc: Leehod Baruch <LEEHOD@il.ibm.com>, GCC Development <gcc@gcc.gnu.org>
Subject: Re: Question about merging two instructions.
Date: Mon, 22 Aug 2005 16:30:00 -0000	[thread overview]
Message-ID: <20050822163037.GA31598@redhat.com> (raw)
In-Reply-To: <4309D517.7040106@lu.unisi.ch>

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~

  reply	other threads:[~2005-08-22 16:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-21 13:52 Leehod Baruch
2005-08-21 16:55 ` Roger Sayle
2005-08-21 17:54   ` Leehod Baruch
2005-08-22  7:38     ` Paolo Bonzini
2005-08-22 13:33       ` Leehod Baruch
2005-08-22 13:37         ` Paolo Bonzini
2005-08-22 16:30           ` Richard Henderson [this message]
2005-08-22 13:49     ` Roger Sayle
2005-08-22  7:10   ` Paolo Bonzini
2005-08-22 14:12     ` Leehod Baruch
2005-08-22 14:42       ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050822163037.GA31598@redhat.com \
    --to=rth@redhat.com \
    --cc=LEEHOD@il.ibm.com \
    --cc=gcc@gcc.gnu.org \
    --cc=paolo.bonzini@lu.unisi.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).