This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
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