public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Joern Rennecke <joern.rennecke@superh.com>
Cc: Roger Sayle <roger@eyesopen.com>,
	gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: Floating point registers vs. LOAD_EXTEND_OP on alpha
Date: Mon, 19 Jan 2004 21:38:00 -0000	[thread overview]
Message-ID: <20040119213854.GA21355@redhat.com> (raw)
In-Reply-To: <200401192124.i0JLOx220353@linsvr1.uk.superh.com>

On Mon, Jan 19, 2004 at 09:24:59PM +0000, Joern Rennecke wrote:
> Maybe we are just trying to hard to keep a nice hack working without changing
> the way the RTL looks during combine.  It would seem that things would
> be much saner if we required that an extend pattern much exist to match
> LOAD_EXTEND_OP for it to be effective, and when combine makes use if it, it
> replaces the load with a SIGN_EXTEND / ZERO_EXTEND as appropriate.
> (The code in cse does appear to already replace some MEMs with a
>  copy from a sign / zero extension, rather than the other way round.)

Indeed, my preference would be to move away from on-the-side
macros like LOAD_EXTEND_OP as much as possible, in favour of
direct representation in the IL.

> ... makes me wonder if it might be easier to make
> a register width aware flow pass for arbitrary integer modes <= word_mode.

The thought has ocurred to me in the past.


r~

  reply	other threads:[~2004-01-19 21:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-18 18:05 Roger Sayle
2004-01-18 19:01 ` Richard Henderson
2004-01-18 22:29   ` Richard Henderson
2004-01-19 20:33 ` Joern Rennecke
2004-01-19 20:41   ` Richard Henderson
2004-01-20  9:30     ` Richard Sandiford
2004-01-20 17:17       ` Richard Henderson
2004-01-20 19:05         ` Joern Rennecke
2004-01-20 19:21           ` Joern Rennecke
2004-01-26 19:30             ` Eric Botcazou
2004-01-26 19:46               ` Joern Rennecke
2004-01-26 20:06                 ` Gerald Pfeifer
2004-01-26 20:53                   ` Joern Rennecke
2004-01-26 21:16                     ` Eric Botcazou
2004-01-26 21:18                       ` Gabriel Dos Reis
2004-01-26 20:38                 ` Eric Botcazou
2004-01-22  9:49           ` Richard Sandiford
2004-01-22 19:32             ` Richard Henderson
2004-01-19 21:25 ` Joern Rennecke
2004-01-19 21:38   ` Richard Henderson [this message]
2004-01-18 20:42 Richard Kenner

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=20040119213854.GA21355@redhat.com \
    --to=rth@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    --cc=joern.rennecke@superh.com \
    --cc=roger@eyesopen.com \
    /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).