Feature request: ability to describe x86 register halves as contraints.
Joern Rennecke
amylaar@cygnus.co.uk
Wed Jul 1 20:15:00 GMT 1998
> | 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.
If we go for bits, we will see the same brokenness as with type sizes - i.e.
overflow when more that 1/16th of the address space is used.
Well, I guess it matters less with access for register parts than with
type sizes...
More information about the Gcc
mailing list