From: Richard Sandiford Date: Tue, 13 Sep 2011 18:12:53 +0000 (+0000) Subject: h8300.md: Use match_test rather than eq/ne symbol_ref throughout file. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e53d97c3c13ded66f6c4c7b0970e5453213adf0;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33d7b04c1ec..1c326efa38a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-09-13 Richard Sandiford + + * config/h8300/h8300.md: Use match_test rather than eq/ne symbol_ref + throughout file. + 2011-09-13 Richard Sandiford * config/arm/arm.md: Use match_test rather than eq/ne symbol_ref diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index fa1809dfa77..bf41e6669a6 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -171,9 +171,9 @@ (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") @@ -2416,7 +2416,7 @@ }" [(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")])