This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[google gcc-4_8] Restore max peeled instructions to old default
- From: Teresa Johnson <tejohnson at google dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, David Li <davidxl at google dot com>
- Date: Thu, 6 Jun 2013 13:22:35 -0700
- Subject: [google gcc-4_8] Restore max peeled instructions to old default
The default for the max instructions in peeled loops was reduced on
trunk in r193570. This is causing a performance regression on an internal
benchmark. This change will revert to the old higher limits.
Google ref b/8839137.
Bootstrapped and tested. Ok for google/4_8?
Thanks,
Teresa
2013-06-06 Teresa Johnson <tejohnson@google.com>
* params.def (PARAM_MAX_PEELED_INSNS): Revert to 400.
(PARAM_MAX_COMPLETELY_PEELED_INSNS): Ditto.
Index: params.def
===================================================================
--- params.def (revision 199753)
+++ params.def (working copy)
@@ -306,7 +306,7 @@ DEFPARAM(PARAM_MAX_UNROLL_TIMES,
DEFPARAM(PARAM_MAX_PEELED_INSNS,
"max-peeled-insns",
"The maximum number of insns of a peeled loop",
- 100, 0, 0)
+ 400, 0, 0)
/* The maximum number of peelings of a single loop. */
DEFPARAM(PARAM_MAX_PEEL_TIMES,
"max-peel-times",
@@ -321,7 +321,7 @@ DEFPARAM(PARAM_MAX_PEEL_BRANCHES,
DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS,
"max-completely-peeled-insns",
"The maximum number of insns of a completely peeled loop",
- 100, 0, 0)
+ 400, 0, 0)
/* The maximum number of peelings of a single loop that is peeled
completely. */
DEFPARAM(PARAM_MAX_COMPLETELY_PEEL_TIMES,
"max-completely-peel-times",
--
Teresa Johnson | Software Engineer | tejohnson@google.com | 408-460-2413