aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRevital Eres <eres@il.ibm.com>2008-02-19 09:19:36 +0000
committerRevital Eres <revitale@gcc.gnu.org>2008-02-19 09:19:36 +0000
commitde82c453322d7b852d569865af2118696cbf0271 (patch)
treeb86cf20201973c9b84277e0b31e98777a2e286b0
parent80fa012e02ac0601af67460f794c49a9f6c7e679 (diff)
downloadgcc-de82c453322d7b852d569865af2118696cbf0271.zip
gcc-de82c453322d7b852d569865af2118696cbf0271.tar.gz
gcc-de82c453322d7b852d569865af2118696cbf0271.tar.bz2
SMS: Minor misc fixes
From-SVN: r132423
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/modulo-sched.c12
2 files changed, 13 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ee49275..ea1635c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2008-02-19 Revital Eres <eres@il.ibm.com>
+
+ * modulo-sched.c (sms_schedule): Change dump message when
+ create_ddg function fails.
+ (try_scheduling_node_in_cycle): Rename row to cycle.
+ (print_partial_schedule): Rename CYCLE to ROW.
+
2008-02-19 Christian Bruel <christian.bruel@st.com>
Zdenek Dvorak <ook@ucw.cz>
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index a203664..0fe180f 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -1045,7 +1045,7 @@ sms_schedule (void)
if (! (g = create_ddg (bb, 0)))
{
if (dump_file)
- fprintf (dump_file, "SMS doloop\n");
+ fprintf (dump_file, "SMS create_ddg failed\n");
continue;
}
@@ -1669,7 +1669,7 @@ calculate_must_precede_follow (ddg_node_ptr u_node, int start, int end,
static bool
try_scheduling_node_in_cycle (partial_schedule_ptr ps, ddg_node_ptr u_node,
- int u, int row, sbitmap sched_nodes,
+ int u, int cycle, sbitmap sched_nodes,
int *num_splits, sbitmap must_precede,
sbitmap must_follow)
{
@@ -1677,16 +1677,16 @@ try_scheduling_node_in_cycle (partial_schedule_ptr ps, ddg_node_ptr u_node,
bool success = 0;
verify_partial_schedule (ps, sched_nodes);
- psi = ps_add_node_check_conflicts (ps, u_node, row,
+ psi = ps_add_node_check_conflicts (ps, u_node, cycle,
must_precede, must_follow);
if (psi)
{
- SCHED_TIME (u_node) = row;
+ SCHED_TIME (u_node) = cycle;
SET_BIT (sched_nodes, u);
success = 1;
*num_splits = 0;
if (dump_file)
- fprintf (dump_file, "Scheduled w/o split in %d\n", row);
+ fprintf (dump_file, "Scheduled w/o split in %d\n", cycle);
}
@@ -2472,7 +2472,7 @@ print_partial_schedule (partial_schedule_ptr ps, FILE *dump)
{
ps_insn_ptr ps_i = ps->rows[i];
- fprintf (dump, "\n[CYCLE %d ]: ", i);
+ fprintf (dump, "\n[ROW %d ]: ", i);
while (ps_i)
{
fprintf (dump, "%d, ",