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