(QI and HI bte/btne patterns): Deleted.
authorRichard Stallman <rms@gnu.org>
Fri, 10 Jul 1992 08:36:03 +0000 (08:36 +0000)
committerRichard Stallman <rms@gnu.org>
Fri, 10 Jul 1992 08:36:03 +0000 (08:36 +0000)
From-SVN: r1551

gcc/config/i860/i860.md

index 82f4504..ef15a40 100644 (file)
 }")
 
 ;; Simple BTE/BTNE compare-and-branch insns made by combining.
-
-(define_insn ""
-  [(set (pc)
-        (if_then_else (eq (match_operand:QI 0 "register_operand" "r")
-                         (match_operand:QI 1 "bte_operand" "rK"))
-                     (label_ref (match_operand 2 "" ""))
-                     (pc)))]
-  ""
-  "bte %1,%0,%2")
-
-(define_insn ""
-  [(set (pc)
-        (if_then_else (ne (match_operand:QI 0 "register_operand" "r")
-                         (match_operand:QI 1 "bte_operand" "rK"))
-                     (label_ref (match_operand 2 "" ""))
-                     (pc)))]
-  ""
-  "btne %1,%0,%2")
-
-(define_insn ""
-  [(set (pc)
-        (if_then_else (eq (match_operand:QI 0 "register_operand" "r")
-                         (match_operand:QI 1 "bte_operand" "rK"))
-                     (pc)
-                     (label_ref (match_operand 2 "" ""))))]
-  ""
-  "btne %1,%0,%2")
-
-(define_insn ""
-  [(set (pc)
-        (if_then_else (ne (match_operand:QI 0 "register_operand" "r")
-                         (match_operand:QI 1 "bte_operand" "rK"))
-                     (pc)
-                     (label_ref (match_operand 2 "" ""))))]
-  ""
-  "bte %1,%0,%2")
-
-(define_insn ""
-  [(set (pc)
-        (if_then_else (eq (match_operand:HI 0 "register_operand" "r")
-                         (match_operand:HI 1 "bte_operand" "rK"))
-                     (label_ref (match_operand 2 "" ""))
-                     (pc)))]
-  ""
-  "bte %1,%0,%2")
-
-(define_insn ""
-  [(set (pc)
-        (if_then_else (ne (match_operand:HI 0 "register_operand" "r")
-                         (match_operand:HI 1 "bte_operand" "rK"))
-                     (label_ref (match_operand 2 "" ""))
-                     (pc)))]
-  ""
-  "btne %1,%0,%2")
-
-(define_insn ""
-  [(set (pc)
-        (if_then_else (eq (match_operand:HI 0 "register_operand" "r")
-                         (match_operand:HI 1 "bte_operand" "rK"))
-                     (pc)
-                     (label_ref (match_operand 2 "" ""))))]
-  ""
-  "btne %1,%0,%2")
-
-(define_insn ""
-  [(set (pc)
-        (if_then_else (ne (match_operand:HI 0 "register_operand" "r")
-                         (match_operand:HI 1 "bte_operand" "rK"))
-                     (pc)
-                     (label_ref (match_operand 2 "" ""))))]
-  ""
-  "bte %1,%0,%2")
+;; Note that it is wrong to add similar patterns for QI or HImode
+;; because bte/btne always compare the whole register.
 
 (define_insn ""
   [(set (pc)