aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-10-09 09:07:15 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2007-10-09 07:07:15 +0000
commitedbed3d31e8f6981f4bf4692c132b95081ab5112 (patch)
tree2f06dba4798e87e7c5ac176d0fe66b8e2a3dc3ec /gcc/params.def
parent8df9c702e68f7d493e39883145e03f947ce6e437 (diff)
downloadgcc-edbed3d31e8f6981f4bf4692c132b95081ab5112.zip
gcc-edbed3d31e8f6981f4bf4692c132b95081ab5112.tar.gz
gcc-edbed3d31e8f6981f4bf4692c132b95081ab5112.tar.bz2
invoke.texi (align-threshold, [...]): Document.
* invoke.texi (align-threshold, align-loop-iterations): Document. * final.c: Include cfgloop.h, params.h (compute_alignments): Dump decisions and compare them with loop structure; honor given parameters. (pass_compute_alignments): New dump file. * params.def (PARAM_ALIGN_THRESHOLD, PARAM_ALIGN_LOOP_ITERATIONS): New. * Makefile.in (final.o): Add dependency on cfgloop.h and params.h From-SVN: r129162
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def
index c9ae99b..5cb1f6d 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -334,6 +334,16 @@ DEFPARAM(HOT_BB_FREQUENCY_FRACTION,
"Select fraction of the maximal frequency of executions of basic block in function given basic block needs to have to be considered hot",
1000, 0, 0)
+DEFPARAM (PARAM_ALIGN_THRESHOLD,
+ "align-threshold",
+ "Select fraction of the maximal frequency of executions of basic block in function given basic block get alignment",
+ 100, 0, 0)
+
+DEFPARAM (PARAM_ALIGN_LOOP_ITERATIONS,
+ "align-loop-iterations",
+ "Loops iterating at least selected number of iterations will get loop alignement.",
+ 4, 0, 0)
+
/* For guessed profiles, the loops having unknown number of iterations
are predicted to iterate relatively few (10) times at average.
For functions containing one loop with large known number of iterations