From 3c8db3f29c32dfceb1c054954b9859375f0b95da Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 19 Aug 1995 17:28:43 -0400 Subject: [PATCH] (subdi3): Should not be commutative. (one_cmpldi2): Fixed typo with register operand. From-SVN: r10255 --- gcc/config/m68k/m68k.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 5ca4519cdeb..f914112c827 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -2636,7 +2636,7 @@ (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"))] "" @@ -4018,7 +4018,7 @@ { 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]; -- 2.30.2