m68k, extendqidi2 problem

Richard Zidlicky rz@linux-m68k.org
Fri Mar 5 23:25:00 GMT 2004


Hi,

I get illegal code like

        move.b %a0,%d1
        extb.l %d1
        smi %d0
        extb.l %d0

Afaics the reason is that the extendqidi2 constraints for %1
in m68k.md:1453 allows "r" instead of "d".

It seems we can keep the constraint as is and make a move.w when
%1 is ADDRESS_REG_P, other suggestions?

Richard



More information about the Gcc mailing list