summaryrefslogtreecommitdiffstats
path: root/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99533.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99533.patch')
-rw-r--r--toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99533.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99533.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99533.patch
deleted file mode 100644
index 196da9d9d8..0000000000
--- a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99533.patch
+++ /dev/null
@@ -1,63 +0,0 @@
12011-08-09 Revital Eres <revital.eres@linaro.org>
2
3 gcc/
4 Backport from trunk -r176970:
5
6 * modulo-sched.c: Change comment.
7 (reset_sched_times): Fix print message.
8 (print_partial_schedule): Add print
9 info.
10
11=== modified file 'gcc/modulo-sched.c'
12--- old/gcc/modulo-sched.c 2011-08-03 12:20:38 +0000
13+++ new/gcc/modulo-sched.c 2011-08-09 04:31:10 +0000
14@@ -84,13 +84,14 @@
15 II cycles (i.e. use register copies to prevent a def from overwriting
16 itself before reaching the use).
17
18- SMS works with countable loops whose loop count can be easily
19- adjusted. This is because we peel a constant number of iterations
20- into a prologue and epilogue for which we want to avoid emitting
21- the control part, and a kernel which is to iterate that constant
22- number of iterations less than the original loop. So the control
23- part should be a set of insns clearly identified and having its
24- own iv, not otherwise used in the loop (at-least for now), which
25+ SMS works with countable loops (1) whose control part can be easily
26+ decoupled from the rest of the loop and (2) whose loop count can
27+ be easily adjusted. This is because we peel a constant number of
28+ iterations into a prologue and epilogue for which we want to avoid
29+ emitting the control part, and a kernel which is to iterate that
30+ constant number of iterations less than the original loop. So the
31+ control part should be a set of insns clearly identified and having
32+ its own iv, not otherwise used in the loop (at-least for now), which
33 initializes a register before the loop to the number of iterations.
34 Currently SMS relies on the do-loop pattern to recognize such loops,
35 where (1) the control part comprises of all insns defining and/or
36@@ -636,8 +637,8 @@
37 /* Print the scheduling times after the rotation. */
38 fprintf (dump_file, "crr_insn->node=%d (insn id %d), "
39 "crr_insn->cycle=%d, min_cycle=%d", crr_insn->node->cuid,
40- INSN_UID (crr_insn->node->insn), SCHED_TIME (u),
41- normalized_time);
42+ INSN_UID (crr_insn->node->insn), normalized_time,
43+ new_min_cycle);
44 if (JUMP_P (crr_insn->node->insn))
45 fprintf (dump_file, " (branch)");
46 fprintf (dump_file, "\n");
47@@ -2782,8 +2783,13 @@
48 fprintf (dump, "\n[ROW %d ]: ", i);
49 while (ps_i)
50 {
51- fprintf (dump, "%d, ",
52- INSN_UID (ps_i->node->insn));
53+ if (JUMP_P (ps_i->node->insn))
54+ fprintf (dump, "%d (branch), ",
55+ INSN_UID (ps_i->node->insn));
56+ else
57+ fprintf (dump, "%d, ",
58+ INSN_UID (ps_i->node->insn));
59+
60 ps_i = ps_i->next_in_row;
61 }
62 }
63