(decrement_and_branch_until_zero matcher): Fix typo.
authorTorbjorn Granlund <tege@gnu.org>
Wed, 11 Sep 1996 01:12:10 +0000 (01:12 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Wed, 11 Sep 1996 01:12:10 +0000 (01:12 +0000)
From-SVN: r12697

gcc/config/i386/i386.md

index 3debb5446b9b73afbcadcb2e272843652d60981f..33c9ac691d9fb0ed7838c46d7bd80c7d359a2b97 100644 (file)
   if (operands[2] == constm1_rtx)
     output_asm_insn (AS1 (dec%L1,%1), operands);
 
-  else if (operands[1] == const1_rtx)
+  else if (operands[2] == const1_rtx)
     output_asm_insn (AS1 (inc%L1,%1), operands);
 
   else