Commit 8aaa4350 by Richard Kenner

(mov*cc_{,soft_}insn): Use match_operator to test the comparison and

check that the condition code register is used.

From-SVN: r10572
parent bea607ca
...@@ -3361,7 +3361,8 @@ ...@@ -3361,7 +3361,8 @@
(define_insn "*movsicc_insn" (define_insn "*movsicc_insn"
[(set (match_operand:SI 0 "register_operand" "=r,r") [(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 2 "arm_not_operand" "rI,K")
(match_operand:SI 3 "register_operand" "0,0")))] (match_operand:SI 3 "register_operand" "0,0")))]
"" ""
...@@ -3373,7 +3374,8 @@ ...@@ -3373,7 +3374,8 @@
(define_insn "*movsfcc_hard_insn" (define_insn "*movsfcc_hard_insn"
[(set (match_operand:SF 0 "register_operand" "=f") [(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 2 "register_operand" "f")
(match_operand:SF 3 "register_operand" "0")))] (match_operand:SF 3 "register_operand" "0")))]
"TARGET_HARD_FLOAT" "TARGET_HARD_FLOAT"
...@@ -3383,7 +3385,8 @@ ...@@ -3383,7 +3385,8 @@
(define_insn "*movsfcc_soft_insn" (define_insn "*movsfcc_soft_insn"
[(set (match_operand:SF 0 "register_operand" "=r") [(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 2 "register_operand" "r")
(match_operand:SF 3 "register_operand" "0")))] (match_operand:SF 3 "register_operand" "0")))]
"TARGET_SOFT_FLOAT" "TARGET_SOFT_FLOAT"
...@@ -3393,7 +3396,8 @@ ...@@ -3393,7 +3396,8 @@
(define_insn "*movdfcc_insn" (define_insn "*movdfcc_insn"
[(set (match_operand:DF 0 "register_operand" "=f") [(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 2 "register_operand" "f")
(match_operand:DF 3 "register_operand" "0")))] (match_operand:DF 3 "register_operand" "0")))]
"TARGET_HARD_FLOAT" "TARGET_HARD_FLOAT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment