Commit fe0aee6c by Richard Sandiford Committed by Richard Sandiford

sparc.md: Use match_test rather than eq/ne symbol_ref throughout file.

gcc/
	* config/sparc/sparc.md: Use match_test rather than eq/ne symbol_ref
	throughout file.

From-SVN: r178869
parent 68ed2b9c
2011-09-14 Richard Sandiford <rdsandiford@googlemail.com> 2011-09-14 Richard Sandiford <rdsandiford@googlemail.com>
* config/sparc/sparc.md: Use match_test rather than eq/ne symbol_ref
throughout file.
2011-09-14 Richard Sandiford <rdsandiford@googlemail.com>
* config/sh/sh.md: Use match_test rather than eq/ne symbol_ref * config/sh/sh.md: Use match_test rather than eq/ne symbol_ref
throughout file. throughout file.
...@@ -218,10 +218,10 @@ ...@@ -218,10 +218,10 @@
(eq_attr "branch_type" "fcc") (eq_attr "branch_type" "fcc")
(if_then_else (match_operand 0 "fcc0_register_operand" "") (if_then_else (match_operand 0 "fcc0_register_operand" "")
(if_then_else (eq_attr "empty_delay_slot" "true") (if_then_else (eq_attr "empty_delay_slot" "true")
(if_then_else (eq (symbol_ref "TARGET_V9") (const_int 0)) (if_then_else (not (match_test "TARGET_V9"))
(const_int 3) (const_int 3)
(const_int 2)) (const_int 2))
(if_then_else (eq (symbol_ref "TARGET_V9") (const_int 0)) (if_then_else (not (match_test "TARGET_V9"))
(const_int 2) (const_int 2)
(const_int 1))) (const_int 1)))
(if_then_else (lt (pc) (match_dup 2)) (if_then_else (lt (pc) (match_dup 2))
......
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