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]
Other format: [Raw text]

Re: hard_regno_nregs == 0 ?


DJ Delorie <dj@redhat.com> writes:

> > I would first ask why subreg_get_info is being called with ymode ==
> > QImode for a hard register which can not hold QImode.  That implies
> > that there is a QImode value in the register, which you say is
> > invalid.
> 
> Are there any ports besides m32c that have registers which can hold HI
> (or SI I suppose) but not QI values?

Good point.  I would normally say that they can hold QI values--after
all, they can--but use register constraints for any QI operations.
Treat movqi for such registers as movhi, or whatever.

Ian


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