microblaze.md: Use match_test rather than eq/ne symbol_ref throughout file.
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 14 Sep 2011 21:16:05 +0000 (21:16 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 14 Sep 2011 21:16:05 +0000 (21:16 +0000)
gcc/
* config/microblaze/microblaze.md: Use match_test rather than
eq/ne symbol_ref throughout file.

From-SVN: r178865

gcc/ChangeLog
gcc/config/microblaze/microblaze.md

index cc07474fd30ad8d7f0a03ba00b5057ea1dd4a39c..c30ec15d743a15acbd497721fe5278d66bc4a88a 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-14  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/microblaze/microblaze.md: Use match_test rather than
+       eq/ne symbol_ref throughout file.
+
 2011-09-14  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * config/bfin/bfin.md: Use match_test rather than eq/ne symbol_ref
index 19b77f9bc219074bf292b3f6aec4cad9bd508548..61ae2f79c86d5d3639a15be64142d7ba42791067 100644 (file)
 ;;----------------------------------------------------------------
 (define_delay (eq_attr "type" "branch,call,jump")
   [(and (eq_attr "type" "!branch,call,jump,icmp,multi,no_delay_arith,no_delay_load,no_delay_store,no_delay_imul,no_delay_move,darith") 
-        (ior (eq (symbol_ref "microblaze_no_unsafe_delay") (const_int 0))
+        (ior (not (match_test "microblaze_no_unsafe_delay"))
              (eq_attr "type" "!fadd,frsub,fmul,fdiv,fcmp,store,load")
              ))
   (nil) (nil)])