aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-09-13 18:14:00 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-09-13 18:14:00 +0000
commit129043ff055f9f2b1ed6a108d52938536eb5635c (patch)
tree242e0bc84ff5163f9bb584df19dfb6257380fb6e
parentc5c680941b4991048336b692733d6de8b3548115 (diff)
downloadgcc-129043ff055f9f2b1ed6a108d52938536eb5635c.zip
gcc-129043ff055f9f2b1ed6a108d52938536eb5635c.tar.gz
gcc-129043ff055f9f2b1ed6a108d52938536eb5635c.tar.bz2
mn10300.md: Use match_test rather than eq/ne symbol_ref throughout file.
gcc/ * config/mn10300/mn10300.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r178824
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mn10300/mn10300.md6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 03a32e8..2bc53d1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2011-09-13 Richard Sandiford <rdsandiford@googlemail.com>
+ * config/mn10300/mn10300.md: Use match_test rather than eq/ne
+ symbol_ref throughout file.
+
+2011-09-13 Richard Sandiford <rdsandiford@googlemail.com>
+
* config/m68k/m68k.md: Use match_test rather than eq/ne symbol_ref
throughout file.
diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md
index e43d0ed..91378a7 100644
--- a/gcc/config/mn10300/mn10300.md
+++ b/gcc/config/mn10300/mn10300.md
@@ -63,15 +63,15 @@
(const_int 1)
(and (eq_attr "isa" "am33")
- (ne (symbol_ref "TARGET_AM33") (const_int 0)))
+ (match_test "TARGET_AM33"))
(const_int 1)
(and (eq_attr "isa" "am33_2")
- (ne (symbol_ref "TARGET_AM33_2") (const_int 0)))
+ (match_test "TARGET_AM33_2"))
(const_int 1)
(and (eq_attr "isa" "am34")
- (ne (symbol_ref "TARGET_AM34") (const_int 0)))
+ (match_test "TARGET_AM34"))
(const_int 1)
]
(const_int 0))