m68k.md (adddi_dilshr32): Allow all operands to be registers too.
authorJeffrey A Law <law@cygnus.com>
Thu, 31 Dec 1998 00:13:53 +0000 (00:13 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 31 Dec 1998 00:13:53 +0000 (17:13 -0700)
        * m68k.md (adddi_dilshr32): Allow all operands to be registers too.
        (adddi_dishl32): Similarly.

From-SVN: r24452

gcc/ChangeLog
gcc/config/m68k/m68k.md

index b09d36a..e5fd3a5 100644 (file)
@@ -1,5 +1,8 @@
 Wed Dec 30 23:38:55 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * m68k.md (adddi_dilshr32): Allow all operands to be registers too.
+       (adddi_dishl32): Similarly.
+
        * cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
        for each insn in the skipped block.
 
index a648ec8..562fb07 100644 (file)
 ;;    (plus:DI (match_operand:DI 2 "general_operand" "%0")
 ;;     (lshiftrt:DI (match_operand:DI 1 "general_operand" "ro")
 ;;            (const_int 32))))]
-    (plus:DI (lshiftrt:DI (match_operand:DI 1 "general_operand" "o,r")
+    (plus:DI (lshiftrt:DI (match_operand:DI 1 "general_operand" "ro,r")
             (const_int 32))
         (match_operand:DI 2 "general_operand" "0,0")))]
   ""
 ;;    (plus:DI (match_operand:DI 2 "general_operand" "%0")
 ;;     (ashift:DI (match_operand:DI 1 "general_operand" "ro")
 ;;            (const_int 32))))]
-    (plus:DI (ashift:DI (match_operand:DI 1 "general_operand" "o,r")
+    (plus:DI (ashift:DI (match_operand:DI 1 "general_operand" "ro,r")
             (const_int 32))
         (match_operand:DI 2 "general_operand" "0,0")))]
   ""