aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2004-02-21 01:34:46 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2004-02-21 00:34:46 +0000
commit701ad47e98c79fdeba475b499311d821d3dd3704 (patch)
tree18dbcbc8a1640d7b3dabe363406823a934ea0dd5
parent5a0df4688439a3a200bbb716dd652b8aaba519bb (diff)
downloadgcc-701ad47e98c79fdeba475b499311d821d3dd3704.zip
gcc-701ad47e98c79fdeba475b499311d821d3dd3704.tar.gz
gcc-701ad47e98c79fdeba475b499311d821d3dd3704.tar.bz2
params.def (max-peeled-insns, [...]): Set to 400.
* params.def (max-peeled-insns, max-completely-peeled-insns, max-once-peeled-insns): Set to 400. From-SVN: r78201
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/params.def13
2 files changed, 14 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9f0bf7b..6dd4649 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-21 Jan Hubicka <jh@suse.cz>
+
+ * params.def (max-peeled-insns, max-completely-peeled-insns,
+ max-once-peeled-insns): Set to 400.
+
2004-02-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR c++/12007
diff --git a/gcc/params.def b/gcc/params.def
index 5642be4..3d5a6b7 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -133,7 +133,12 @@ DEFPARAM(PARAM_MAX_GCSE_PASSES,
1)
/* This parameter limits the number of insns in a loop that will be unrolled,
- and by how much the loop is unrolled. */
+ and by how much the loop is unrolled.
+
+ This limit should be at most half of the peeling limits: loop unroller
+ decides to not unroll loops that iterate fewer than 2*number of allowed
+ unrollings and thus we would have loops that are neither peeled or unrooled
+ otherwise. */
DEFPARAM(PARAM_MAX_UNROLLED_INSNS,
"max-unrolled-insns",
"The maximum number of instructions to consider to unroll in a loop",
@@ -153,7 +158,7 @@ DEFPARAM(PARAM_MAX_UNROLL_TIMES,
DEFPARAM(PARAM_MAX_PEELED_INSNS,
"max-peeled-insns",
"The maximum number of insns of a peeled loop",
- 120)
+ 400)
/* The maximum number of peelings of a single loop. */
DEFPARAM(PARAM_MAX_PEEL_TIMES,
"max-peel-times",
@@ -163,7 +168,7 @@ DEFPARAM(PARAM_MAX_PEEL_TIMES,
DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS,
"max-completely-peeled-insns",
"The maximum number of insns of a completely peeled loop",
- 120)
+ 400)
/* The maximum number of peelings of a single loop that is peeled completely. */
DEFPARAM(PARAM_MAX_COMPLETELY_PEEL_TIMES,
"max-completely-peel-times",
@@ -173,7 +178,7 @@ DEFPARAM(PARAM_MAX_COMPLETELY_PEEL_TIMES,
DEFPARAM(PARAM_MAX_ONCE_PEELED_INSNS,
"max-once-peeled-insns",
"The maximum number of insns of a peeled loop that rolls only once",
- 200)
+ 400)
/* The maximum number of insns of an unswitched loop. */
DEFPARAM(PARAM_MAX_UNSWITCH_INSNS,