* config/h8300/h8300.md: Use match_test rather than eq/ne symbol_ref
throughout file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178822
138bc75d-0d04-0410-961f-
82ee72b054a4
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
throughout file.
* config/arm/neon.md: Likewise.
(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")
}"
[(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")])