OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2011 18:13:24 +0000 (18:13 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2011 18:13:24 +0000 (18:13 +0000)
* config/m68k/m68k.md: Use match_test rather than eq/ne symbol_ref
throughout file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178823 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 1c326ef..03a32e8 100644 (file)
@@ -1,5 +1,10 @@
 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
        throughout file.
 
index 16697bf..672ef0d 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)))