params.def (max-peeled-insns, [...]): Set to 400.
authorJan Hubicka <jh@suse.cz>
Sat, 21 Feb 2004 00:34:46 +0000 (01:34 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 21 Feb 2004 00:34:46 +0000 (00:34 +0000)
* params.def (max-peeled-insns, max-completely-peeled-insns,
max-once-peeled-insns): Set to 400.

From-SVN: r78201

gcc/ChangeLog
gcc/params.def

index 9f0bf7baafbf501eac2096b8218171703b3f4207..6dd4649f26b55f940efbcf2b4f84624468c3d4c9 100644 (file)
@@ -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
index 5642be4ad7baed379b449623a2dbee284534a7e0..3d5a6b70a2aed69571591f391fc6618b728327e3 100644 (file)
@@ -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,