summaryrefslogtreecommitdiff
path: root/gcc/config/h8300
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-13 18:12:53 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-13 18:12:53 +0000
commitbfd185a9b21a7f130de68194faa06bd43cb71a13 (patch)
tree3fb580160e50abcf4410d629119b65e2cd61dab9 /gcc/config/h8300
parent0bf497f5cdb9604b34123c692c45e4e09c02dc20 (diff)
downloadgcc-bfd185a9b21a7f130de68194faa06bd43cb71a13.tar.gz
gcc/
* 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
Diffstat (limited to 'gcc/config/h8300')
-rw-r--r--gcc/config/h8300/h8300.md8
1 files changed, 4 insertions, 4 deletions
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")])