aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-unroll.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-07-01 12:18:01 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-07-01 12:18:01 +0000
commite0bb17a83f613106571d3b516168d12cf83b10be (patch)
tree2e247fb1aad8f72881cfd082e69ebe412ba7989f /gcc/loop-unroll.c
parent0d0a1710d97a7eff97667caa55f83cc7bbe948de (diff)
downloadgcc-e0bb17a83f613106571d3b516168d12cf83b10be.zip
gcc-e0bb17a83f613106571d3b516168d12cf83b10be.tar.gz
gcc-e0bb17a83f613106571d3b516168d12cf83b10be.tar.bz2
basic-block.h: Fix comment typos.
* basic-block.h: Fix comment typos. * bb-reorder.c: Likewise. * c-format.c: Likewise. * cfgcleanup.c: Likewise. * cfghooks.h: Likewise. * cfgloop.c: Likewise. * cfgloopmanip.c: Likewise. * cfgrtl.c: Likewise. * cgraph.h: Likewise. * cgraphunit.c: Likewise. * combine.c: Likewise. * convert.c: Likewise. * dbxout.c: Likewise. * df.c: Likewise. * df.h: Likewise. * diagnostic.c: Likewise. * dwarf2out.c: Likewise. * et-forest.h: Likewise. * flow.c: Likewise. * fold-const.c: Likewise. * function.h: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * gcse.c: Likewise. * genautomata.c: Likewise. * ggc-common.c: Likewise. * ggc-page.c: Likewise. * loop-unroll.c: Likewise. * loop-unswitch.c: Likewise. * loop.c: Likewise. * mips-tfile.c: Likewise. * optabs.c: Likewise. * ra-build.c: Likewise. * ra-colorize.c: Likewise. * ra-rewrite.c: Likewise. * ra.h: Likewise. * regmove.c: Likewise. * reload.c: Likewise. * rtlanal.c: Likewise. * sched-ebb.c: Likewise. * sched-int.h: Likewise. * sched-vis.c: Likewise. * sreal.c: Likewise. * ssa-ccp.c: Likewise. * ssa.c: Likewise. * toplev.c: Likewise. * tree-inline.c: Likewise. * value-prof.c: Likewise. * value-prof.h: Likewise. From-SVN: r68770
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r--gcc/loop-unroll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c
index e8509de..b8c035f 100644
--- a/gcc/loop-unroll.c
+++ b/gcc/loop-unroll.c
@@ -32,7 +32,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "expr.h"
/* This pass performs loop unrolling and peeling. We only perform these
- optimalizations on innermost loops (with single exception) because
+ optimizations on innermost loops (with single exception) because
the impact on performance is greatest here, and we want to avoid
unnecessary code size growth. The gain is caused by greater sequentiality
of code, better code to optimize for futher passes and in some cases
@@ -511,7 +511,7 @@ decide_unroll_constant_iterations (loops, loop, flags)
/* Success; now compute number of iterations to unroll. We alter
nunroll so that as few as possible copies of loop body are
- neccesary, while still not decreasing the number of unrollings
+ necessary, while still not decreasing the number of unrollings
too much (at most by 1). */
best_copies = 2 * nunroll + 10;
@@ -1153,7 +1153,7 @@ decide_unroll_stupid (loops, loop, flags)
}
/* Success. Now force nunroll to be power of 2, as it seems that this
- improves results (partially because of better aligments, partially
+ improves results (partially because of better alignments, partially
because of some dark magic). */
for (i = 1; 2 * i <= nunroll; i *= 2);