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]

m68k, extendqidi2 problem


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


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