This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Feature request: ability to describe x86 register halves as contraints.
- To: amylaar at cygnus dot co dot uk, law at cygnus dot com
- Subject: Re: Feature request: ability to describe x86 register halves as contraints.
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Wed, 1 Jul 1998 16:18:58 -0400
- Cc: ak at muc dot de, egcs at cygnus dot com
| I think we should change SUBREG to count addressable units instead of
| 'words'. This would also fix some brokenness when there are
| varying register sizes (E.g. floating point wider than integer...)
I would not stop at addressable units, but go for bits. Either that, or change
things to use {SIGN,ZERO}_EXTRACT, along with some sort of WIDER/CHANGE_TYPE
support. It might be useful to use a different name than SUBREG, so that you
can identify the broken code.