public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jim Wilson <wilson@specifix.com>
To: DJ Delorie <dj@redhat.com>
Cc: iant@google.com, gcc@gcc.gnu.org
Subject: Re: hard_regno_nregs == 0 ?
Date: Wed, 09 Jan 2008 20:18:00 -0000	[thread overview]
Message-ID: <47852BE9.9010709@specifix.com> (raw)
In-Reply-To: <200801091647.m09Gl4Qp021266@greed.delorie.com>

DJ Delorie wrote:
> Are there any ports besides m32c that have registers which can hold HI
> (or SI I suppose) but not QI values?

IA-64 has branch registers that are only allowed to hold DImode values. 
  We use CANNOT_CHANGE_MODE_CLASS to enforce this.

On x86, the vector registers can hold SImode, but do not allow 
HImode/QImode loads, and again CANNOT_CHANGE_MODE_CLASS is used to 
enforce this.

I'm sure that there are other examples out there.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com

  parent reply	other threads:[~2008-01-09 20:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 20:13 DJ Delorie
2008-01-09 16:43 ` Ian Lance Taylor
2008-01-09 16:47   ` DJ Delorie
2008-01-09 16:56     ` Ian Lance Taylor
2008-01-09 20:18     ` Jim Wilson [this message]
2008-01-09 19:27 ` Jim Wilson
2008-01-09 20:39   ` DJ Delorie
2008-01-09 21:48     ` Paul Brook
2008-01-09 22:02       ` DJ Delorie
2008-01-11  0:12     ` Jim Wilson
2008-01-11  0:16       ` DJ Delorie
2008-01-12  0:48         ` Jim Wilson
2008-01-21 22:41           ` DJ Delorie

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=47852BE9.9010709@specifix.com \
    --to=wilson@specifix.com \
    --cc=dj@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.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).