summaryrefslogtreecommitdiff
path: root/gcc/modulo-sched.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-11 08:17:26 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-11 08:17:26 +0000
commit469e33a090a8cda65e381245f6618584b167c59e (patch)
tree749d0a945628c51c9953f21ffab4f03fbce90182 /gcc/modulo-sched.c
parentc7964868493bfe091b20e186b12b2293a292ea7d (diff)
downloadgcc-469e33a090a8cda65e381245f6618584b167c59e.tar.gz
gcc/
* modulo-sched.c: Fix comment typo. Mention the possibility of using scheduling windows of II+1 cycles. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r--gcc/modulo-sched.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index d12f53b5ebe..f2fd445fa06 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -545,7 +545,7 @@ set_columns_for_ps (partial_schedule_ptr ps)
The move is part of a chain that satisfies register dependencies
between a producing ddg node and various consuming ddg nodes.
If some of these dependencies have a distance of 1 (meaning that
- the use is upward-exposoed) then DISTANCE1_USES is nonnull and
+ the use is upward-exposed) then DISTANCE1_USES is nonnull and
contains the set of uses with distance-1 dependencies.
DISTANCE1_USES is null otherwise.
@@ -1810,7 +1810,11 @@ sms_schedule (void)
41. endif
42. compute epilogue & prologue
43. finish - succeeded to schedule
-*/
+
+ ??? The algorithm restricts the scheduling window to II cycles.
+ In rare cases, it may be better to allow windows of II+1 cycles.
+ The window would then start and end on the same row, but with
+ different "must precede" and "must follow" requirements. */
/* A limit on the number of cycles that resource conflicts can span. ??? Should
be provided by DFA, and be dependent on the type of insn scheduled. Currently