mn10300.md: Use match_test rather than eq/ne symbol_ref throughout file.
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 13 Sep 2011 18:14:00 +0000 (18:14 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 13 Sep 2011 18:14:00 +0000 (18:14 +0000)
gcc/
* config/mn10300/mn10300.md: Use match_test rather than eq/ne
symbol_ref throughout file.

From-SVN: r178824

gcc/ChangeLog
gcc/config/mn10300/mn10300.md

index 03a32e83bd06dcb8eba2e61f62b9aba02509f7ea..2bc53d156ba1b4389516b1934a9f8a015728fb63 100644 (file)
@@ -1,3 +1,8 @@
+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
index e43d0ed82dd5ee47135043e86adefec7dc087ee6..91378a79345e85b9d6c6e1d8aef390d2fed52e9a 100644 (file)
          (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))