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

From-SVN: r178823

gcc/ChangeLog
gcc/config/m68k/m68k.md

index 1c326efa38a8c47544a91e7f32813c52a3296c9c..03a32e83bd06dcb8eba2e61f62b9aba02509f7ea 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-13  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/m68k/m68k.md: Use match_test rather than eq/ne symbol_ref
+       throughout file.
+
 2011-09-13  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * config/h8300/h8300.md: Use match_test rather than eq/ne symbol_ref
index 16697bf95f770597a54f7a6329a0c675913a744a..672ef0db6c02882aae8c48758a3582a954521e28 100644 (file)
 
 ;; Define 'enabled' attribute.
 (define_attr "enabled" ""
-  (cond [(and (ne (symbol_ref "TARGET_COLDFIRE") (const_int 0))
+  (cond [(and (match_test "TARGET_COLDFIRE")
              (eq_attr "ok_for_coldfire" "no"))
         (const_int 0)]
        (const_int 1)))