OSDN Git Service

(QI and HI bte/btne patterns): Deleted.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 1992 08:36:03 +0000 (08:36 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 1992 08:36:03 +0000 (08:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1551 138bc75d-0d04-0410-961f-82ee72b054a4

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)