diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-09 07:07:15 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-09 07:07:15 +0000 |
commit | 7bd530d97ac94ef8540dd2bb9c9549828f6293ef (patch) | |
tree | 2f06dba4798e87e7c5ac176d0fe66b8e2a3dc3ec /gcc/params.def | |
parent | 17b316d9df91377796f9155ec47e598de5d7b1b5 (diff) | |
download | gcc-7bd530d97ac94ef8540dd2bb9c9549828f6293ef.tar.gz |
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129162 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index c9ae99bd688..5cb1f6da7c2 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 |