aboutsummaryrefslogtreecommitdiff
path: root/gcc/modulo-sched.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-05-30 07:12:58 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-05-30 07:12:58 +0000
commit1ea7e6ad84d890cc6d002e9e698055de85a28cfd (patch)
tree353029a3fd14257b6028935077f92705d8a886d5 /gcc/modulo-sched.c
parentb453c95fd3fa689a6d70e8878848e5d6531e9ac5 (diff)
downloadgcc-1ea7e6ad84d890cc6d002e9e698055de85a28cfd.zip
gcc-1ea7e6ad84d890cc6d002e9e698055de85a28cfd.tar.gz
gcc-1ea7e6ad84d890cc6d002e9e698055de85a28cfd.tar.bz2
c-common.c, [...]: Fix comment typos.
* c-common.c, calls.c, cfgcleanup.c, cgraph.c, cgraphunit.c, ddg.c, ddg.h, df.c, df.h, except.c, expr.c, flags.h, fold-const.c, gcc.c, gimplify.c, haifa-sched.c, modulo-sched.c, tree-inline.c, tree-into-ssa.c, tree-nested.c, tree-nrv.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-live.c, tree-ssa-loop.c, tree-ssa-pre.c, tree-tailcall.c, tree.h: Fix comment typos. Follow spelling conventions. From-SVN: r82439
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r--gcc/modulo-sched.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index 77dd6e8..a9822e2 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -57,7 +57,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
IEEE Trans. on Comps., 50(3), March 2001
[2] J. Llosa, A. Gonzalez, E. Ayguade, and M. Valero.
Swing Modulo Scheduling: A Lifetime Sensitive Approach.
- PACT '96 , pages 80-87, October 1996 (Boston - Massachussets - USA).
+ PACT '96 , pages 80-87, October 1996 (Boston - Massachusetts - USA).
The basic structure is:
1. Build a data-dependence graph (DDG) for each loop.
@@ -156,7 +156,7 @@ void rotate_partial_schedule (partial_schedule_ptr, int);
void set_row_column_for_ps (partial_schedule_ptr);
-/* This page defines constants and structures for the modulo scheduiing
+/* This page defines constants and structures for the modulo scheduling
driver. */
/* As in haifa-sched.c: */
@@ -202,7 +202,7 @@ typedef struct node_sched_params
original register defined by the node. */
rtx first_reg_move;
- /* The number of register-move instructions added, immediately preceeding
+ /* The number of register-move instructions added, immediately preceding
first_reg_move. */
int nreg_moves;
@@ -210,7 +210,7 @@ typedef struct node_sched_params
int stage; /* Holds time / ii. */
/* The column of a node inside the ps. If nodes u, v are on the same row,
- u will preceed v if column (u) < column (v). */
+ u will precede v if column (u) < column (v). */
int column;
} *node_sched_params_ptr;
@@ -472,7 +472,7 @@ generate_reg_moves (partial_schedule_ptr ps)
{
int nreg_moves4e = (SCHED_TIME (e->dest) - SCHED_TIME (e->src)) / ii;
- /* If dest preceeds src in the schedule of the kernel, then dest
+ /* If dest precedes src in the schedule of the kernel, then dest
will read before src writes and we can save one reg_copy. */
if (SCHED_ROW (e->dest) == SCHED_ROW (e->src)
&& SCHED_COLUMN (e->dest) < SCHED_COLUMN (e->src))
@@ -605,7 +605,7 @@ duplicate_insns_of_cycles (partial_schedule_ptr ps, int from_stage,
if (for_prolog)
{
/* SCHED_STAGE (u_node) >= from_stage == 0. Generate increasing
- number of reg_moves starting with the second occurance of
+ number of reg_moves starting with the second occurrence of
u_node, which is generated if its SCHED_STAGE <= to_stage. */
i_reg_moves = to_stage - SCHED_STAGE (u_node);
i_reg_moves = MAX (i_reg_moves, 0);