hard_regno_nregs == 0 ?

Ian Lance Taylor iant@google.com
Wed Jan 9 16:56:00 GMT 2008


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



More information about the Gcc mailing list