(parallel inc and branch-if-zero/nonzero): Check for -1, not zero.
authorTorbjorn Granlund <tege@gnu.org>
Thu, 31 Oct 1996 07:56:30 +0000 (07:56 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Thu, 31 Oct 1996 07:56:30 +0000 (07:56 +0000)
From-SVN: r13080

gcc/config/i386/i386.md

index c4041b4..33c3070 100644 (file)
 (define_insn ""
   [(set (pc)
        (if_then_else (ne (match_operand:SI 0 "general_operand" "g")
-                         (const_int 0))
+                         (const_int -1))
                      (label_ref (match_operand 1 "" ""))
                      (pc)))
    (set (match_dup 0)
 (define_insn ""
   [(set (pc)
        (if_then_else (eq (match_operand:SI 0 "general_operand" "g")
-                         (const_int 0))
+                         (const_int -1))
                      (label_ref (match_operand 1 "" ""))
                      (pc)))
    (set (match_dup 0)