]> gcc.gnu.org Git - gcc.git/commitdiff
(mov*cc_{,soft_}insn): Use match_operator to test the comparison and
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 8 Nov 1995 13:59:59 +0000 (08:59 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 8 Nov 1995 13:59:59 +0000 (08:59 -0500)
check that the condition code register is used.

From-SVN: r10572

gcc/config/arm/arm.md

index 2ccc61ea338212999e4d9847766edd2c195f4b4d..461aeada97ad0efc7694df3453fca32494027283 100644 (file)
 
 (define_insn "*movsicc_insn"
   [(set (match_operand:SI 0 "register_operand" "=r,r")
-       (if_then_else (match_operand 1 "comparison_operator" "")
+       (if_then_else (match_operator 1 "comparison_operator" 
+                      [(reg 24) (const_int 0)])
                      (match_operand:SI 2 "arm_not_operand" "rI,K")
                      (match_operand:SI 3 "register_operand" "0,0")))]
   ""
 
 (define_insn "*movsfcc_hard_insn"
   [(set (match_operand:SF 0 "register_operand" "=f")
-       (if_then_else (match_operand 1 "comparison_operator" "")
+       (if_then_else (match_operator 1 "comparison_operator" 
+                      [(reg 24) (const_int 0)])
                      (match_operand:SF 2 "register_operand" "f")
                      (match_operand:SF 3 "register_operand" "0")))]
   "TARGET_HARD_FLOAT"
 
 (define_insn "*movsfcc_soft_insn"
   [(set (match_operand:SF 0 "register_operand" "=r")
-       (if_then_else (match_operand 1 "comparison_operator" "")
+       (if_then_else (match_operator 1 "comparison_operator"
+                      [(reg 24) (const_int 0)])
                      (match_operand:SF 2 "register_operand" "r")
                      (match_operand:SF 3 "register_operand" "0")))]
   "TARGET_SOFT_FLOAT"
 
 (define_insn "*movdfcc_insn"
   [(set (match_operand:DF 0 "register_operand" "=f")
-       (if_then_else (match_operand 1 "comparison_operator" "")
+       (if_then_else (match_operator 1 "comparison_operator"
+                      [(reg 24) (const_int 0)])
                      (match_operand:DF 2 "register_operand" "f")
                      (match_operand:DF 3 "register_operand" "0")))]
   "TARGET_HARD_FLOAT"
This page took 0.068227 seconds and 5 git commands to generate.