OSDN Git Service

(subdi3): Should not be commutative.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Aug 1995 21:28:43 +0000 (21:28 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Aug 1995 21:28:43 +0000 (21:28 +0000)
(one_cmpldi2): Fixed typo with register operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10255 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/m68k/m68k.md

index 5ca4519..f914112 100644 (file)
 
 (define_insn "subdi3"
   [(set (match_operand:DI 0 "general_operand" "=d,<,d,o<>")
-       (minus:DI (match_operand:DI 1 "general_operand" "%0,0,0,0")
+       (minus:DI (match_operand:DI 1 "general_operand" "0,0,0,0")
                 (match_operand:DI 2 "general_operand" "d,<,*ao>,d")))
    (clobber (match_scratch:SI 3 "=X,X,d,d"))]
   ""
 {
   CC_STATUS_INIT;
   if (GET_CODE (operands[0]) == REG)
-    operands[2] = gen_rtx (REG, SImode, REGNO (operands[0]) + 1);
+    operands[1] = gen_rtx (REG, SImode, REGNO (operands[0]) + 1);
   else if (GET_CODE (XEXP (operands[0], 0)) == POST_INC
         || GET_CODE (XEXP (operands[0], 0)) == PRE_DEC)
     operands[1] = operands[0];