From 09acc9edc7ec7fec2fa4c845f9297d34259cd04d Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 7 Aug 1993 18:51:16 +0000 Subject: [PATCH] (strict_low_part add/subtract recognizers): Use %2, not %1, in template. From-SVN: r5100 --- gcc/config/ns32k/ns32k.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gcc/config/ns32k/ns32k.md b/gcc/config/ns32k/ns32k.md index c02dc1ce293..556e94bd43a 100644 --- a/gcc/config/ns32k/ns32k.md +++ b/gcc/config/ns32k/ns32k.md @@ -888,8 +888,8 @@ { if (GET_CODE (operands[1]) == CONST_INT && INTVAL (operands[1]) >-9 && INTVAL(operands[1]) < 8) - return \"addqw %1,%0\"; - return \"addw %1,%0\"; + return \"addqw %2,%0\"; + return \"addw %2,%0\"; }") (define_insn "addqi3" @@ -916,8 +916,8 @@ { if (GET_CODE (operands[1]) == CONST_INT && INTVAL (operands[1]) >-9 && INTVAL(operands[1]) < 8) - return \"addqb %1,%0\"; - return \"addb %1,%0\"; + return \"addqb %2,%0\"; + return \"addb %2,%0\"; }") ;;- All kinds of subtract instructions. @@ -990,8 +990,8 @@ { if (GET_CODE (operands[1]) == CONST_INT && INTVAL (operands[1]) >-8 && INTVAL(operands[1]) < 9) - return \"addqw %$%n1,%0\"; - return \"subw %1,%0\"; + return \"addqw %$%n2,%0\"; + return \"subw %2,%0\"; }") (define_insn "subqi3" @@ -1019,8 +1019,8 @@ { if (GET_CODE (operands[1]) == CONST_INT && INTVAL (operands[1]) >-8 && INTVAL(operands[1]) < 9) - return \"addqb %$%n1,%0\"; - return \"subb %1,%0\"; + return \"addqb %$%n2,%0\"; + return \"subb %2,%0\"; }") ;;- Multiply instructions. -- 2.30.2