OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Sep 2011 21:16:05 +0000 (21:16 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Sep 2011 21:16:05 +0000 (21:16 +0000)
* config/microblaze/microblaze.md: Use match_test rather than
eq/ne symbol_ref throughout file.

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

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

index cc07474..c30ec15 100644 (file)
@@ -1,5 +1,10 @@
 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
        throughout file.
 
index 19b77f9..61ae2f7 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)])