aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def
index ea3015b3640..cc170e774dd 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -282,6 +282,15 @@ DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS,
"max-completely-peeled-insns",
"The maximum number of insns of a completely peeled loop",
400, 0, 0)
+/* Completely peeling a loop in couter-productive if that leads to
+ increased icache misses. Therefore, we want there to be an outer
+ loop of a size that fits into the icache which rolls sufficiently
+ to amortize the icache misses when the peeled loop is fetched. */
+/* The maximum number of insns in the outer loop of a peeled loop. */
+DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_OUTER_INSNS,
+ "max-completely-peeled-outer-insns",
+ "The maximum number of insns of the outer loopp of a completely peeled loop",
+ 4000, 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",