]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
modulo-sched.c: Fix comment typo.
authorRichard Sandiford <richard.sandiford@linaro.org>
Tue, 11 Oct 2011 08:17:26 +0000 (08:17 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 11 Oct 2011 08:17:26 +0000 (08:17 +0000)
gcc/
* modulo-sched.c: Fix comment typo.  Mention the possibility
of using scheduling windows of II+1 cycles.

From-SVN: r179788

gcc/ChangeLog
gcc/modulo-sched.c

index 957d661c3adf9a5ded83d51a1cfa6f1f924d4d94..bd97d6d885815fb3fb923d6a05d83e2412b72e94 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-11  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * modulo-sched.c: Fix comment typo.  Mention the possibility
+       of using scheduling windows of II+1 cycles.
+
 2011-10-11  Tristan Gingold  <gingold@adacore.com>
 
        * doc/invoke.texi (C Dialect Options): Document
index d12f53b5ebe06683f025da2da32d4caadc1f5534..f2fd445fa0657633cda227ee9959bd52bd5cb1d2 100644 (file)
@@ -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