This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Blackfin: enable sel_sched


I've committed this patch, which enables the sel_sched pass in the
Blackfin reorg pass, in the same way it's done on ia64.  However, when
enabled, this causes numerous internal compiler errors for which I'm
planning to file bugzilla entries.


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 155866)
+++ ChangeLog	(working copy)
@@ -4,6 +4,9 @@
 	libgcc-std.ver.  Add entries for ___smulsi3_highpart and
 	___umulsi3_highpart.
 
+	* config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
+	rather than schedule_insns if the pass is enabled.
+
 2010-01-13  Martin Jambor  <mjambor@suse.cz>
 
 	PR tree-optimization/42704
Index: config/bfin/bfin.c
===================================================================
--- config/bfin/bfin.c	(revision 155288)
+++ config/bfin/bfin.c	(working copy)
@@ -5499,7 +5499,11 @@ bfin_reorg (void)
       add_sched_insns_for_speculation ();
 
       timevar_push (TV_SCHED2);
-      schedule_insns ();
+      if (flag_selective_scheduling2
+	  && !maybe_skip_selective_scheduling ())
+        run_selective_scheduling ();
+      else
+	schedule_insns ();
       timevar_pop (TV_SCHED2);
 
       /* Examine the schedule and insert nops as necessary for 64-bit parallel

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]