diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2011-09-13 18:12:53 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2011-09-13 18:12:53 +0000 |
commit | 9e53d97c3c13ded66f6c4c7b0970e5453213adf0 (patch) | |
tree | 3fb580160e50abcf4410d629119b65e2cd61dab9 | |
parent | b75b1be274e21796eae8fb1382ce1987f59ebee3 (diff) | |
download | gcc-9e53d97c3c13ded66f6c4c7b0970e5453213adf0.zip gcc-9e53d97c3c13ded66f6c4c7b0970e5453213adf0.tar.gz gcc-9e53d97c3c13ded66f6c4c7b0970e5453213adf0.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33d7b04..1c326ef 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index fa1809d..bf41e66 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")]) |