From: Peter Jakubek Date: Sat, 9 Jun 2001 19:11:22 +0000 (+0000) Subject: * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54c6cfdcb65326375bdf3440670912345485dba5;p=gcc.git * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16. From-SVN: r43100 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1cafdce2674..3b3f434b572 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-06-09 Peter Jakubek + + * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16. + 2001-06-09 John David Anglin * vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index c74b1424e57..452652005fd 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -4805,7 +4805,7 @@ else if (INTVAL (operands[2]) == 8) return \"move%.b %0,%1\;asr%.l %#8,%0\;ror%.l %#8,%1\"; else if (INTVAL (operands[2]) == 16) - return \"move%.w %0,%1\;clr%.w %0\;swap %1\;ext%.l %0\"; + return \"move%.w %0,%1\;swap %0\;ext%.l %0\;swap %1\"; else if (INTVAL (operands[2]) == 48) return \"swap %0\;ext%.l %0\;move%.l %0,%1\;smi %0\;ext%.w %0\"; else if (INTVAL (operands[2]) == 31)