Backport changes number 29984 and 43100.

This commit is contained in:
Krystian Bacławski 2016-10-16 18:33:12 +02:00
parent 698c99a82a
commit 2ede486e33
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
Sun Oct 16 18:17:25 CEST 2016 Krystian Baclawski
2001-06-09 Peter Jakubek <pjak@snafu.de>
* config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
* m68k.md (zero_extendsidi2): Add missing output reload constraint.
Fri Mar 16 12:46:19 GMT 2001 Bernd Schmidt (bernds@redhat.com)
* gcc-2.95.3 Released.

View File

@ -1487,7 +1487,7 @@
;; this is the canonical form for (lshiftrt:DI x 32)
(define_insn "zero_extendsidi2"
[(set (match_operand:DI 0 "general_operand" "rm")
[(set (match_operand:DI 0 "general_operand" "=rm")
(zero_extend:DI (match_operand:SI 1 "general_operand" "rm")))]
""
"*
@ -4794,7 +4794,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)