This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Feature request: ability to describe x86 register halves as contraints.


| 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]