This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
m68k, extendqidi2 problem
- From: Richard Zidlicky <rz at linux-m68k dot org>
- To: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Sat, 6 Mar 2004 00:21:26 +0100
- Subject: 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