Commit 9e53d97c by Richard Sandiford Committed by Richard Sandiford

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

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

From-SVN: r178822
parent b75b1be2
2011-09-13 Richard Sandiford <rdsandiford@googlemail.com> 2011-09-13 Richard Sandiford <rdsandiford@googlemail.com>
* config/h8300/h8300.md: Use match_test rather than eq/ne symbol_ref
throughout file.
2011-09-13 Richard Sandiford <rdsandiford@googlemail.com>
* config/arm/arm.md: Use match_test rather than eq/ne symbol_ref * config/arm/arm.md: Use match_test rather than eq/ne symbol_ref
throughout file. throughout file.
* config/arm/neon.md: Likewise. * config/arm/neon.md: Likewise.
...@@ -171,9 +171,9 @@ ...@@ -171,9 +171,9 @@
(define_asm_attributes (define_asm_attributes
[(set (attr "length") [(set (attr "length")
(cond [(ne (symbol_ref "TARGET_H8300") (const_int 0)) (const_int 4) (cond [(match_test "TARGET_H8300") (const_int 4)
(ne (symbol_ref "TARGET_H8300H") (const_int 0)) (const_int 10) (match_test "TARGET_H8300H") (const_int 10)
(ne (symbol_ref "TARGET_H8300S") (const_int 0)) (const_int 10)] (match_test "TARGET_H8300S") (const_int 10)]
(const_int 14)))]) (const_int 14)))])
(include "predicates.md") (include "predicates.md")
...@@ -2416,7 +2416,7 @@ ...@@ -2416,7 +2416,7 @@
}" }"
[(set_attr "type" "branch") [(set_attr "type" "branch")
(set (attr "delay_slot") (set (attr "delay_slot")
(if_then_else (ne (symbol_ref "TARGET_H8300SX") (const_int 0)) (if_then_else (match_test "TARGET_H8300SX")
(const_string "jump") (const_string "jump")
(const_string "none"))) (const_string "none")))
(set_attr "cc" "none")]) (set_attr "cc" "none")])
......
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