From 8aaa43506157312bf0aaacf289c2df801569d71c Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 8 Nov 1995 08:59:59 -0500 Subject: [PATCH] (mov*cc_{,soft_}insn): Use match_operator to test the comparison and check that the condition code register is used. From-SVN: r10572 --- gcc/config/arm/arm.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 2ccc61ea338..461aeada97a 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -3361,7 +3361,8 @@ (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")))] "" @@ -3373,7 +3374,8 @@ (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" @@ -3383,7 +3385,8 @@ (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" @@ -3393,7 +3396,8 @@ (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" -- 2.30.2