* m68k.md (zero_extend QI to HI): Correctly handle TARGET_5200.

From-SVN: r20981
This commit is contained in:
Franz Sirl 1998-07-06 23:47:09 +00:00 committed by Jeff Law
parent 79325812b8
commit 7edf1e0416
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Tue Jul 7 00:44:35 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* m68k.md (zero_extend QI to HI): Correctly handle TARGET_5200.
Tue Jul 7 00:36:41 1998 Ulrich Drepper <drepper@cygnus.com>
* i386.c: Remove random whitespace at end of lines.

View File

@ -1584,9 +1584,10 @@
{
if (GET_CODE (operands[1]) == REG
&& REGNO (operands[0]) == REGNO (operands[1]))
return \"and%.w %#0xFF,%0\";
return (!TARGET_5200 ? \"and%.w %#0xFF,%0\" : \"and%.l %#0xFF,%0\");
if (reg_mentioned_p (operands[0], operands[1]))
return \"move%.b %1,%0\;and%.w %#0xFF,%0\";
return (!TARGET_5200 ? \"move%.b %1,%0\;and%.w %#0xFF,%0\"
: \"move%.b %1,%0\;and%.l %#0xFF,%0\");
return \"clr%.w %0\;move%.b %1,%0\";
}
else if (GET_CODE (operands[0]) == MEM