[PATCH] Document correct default inlining params
Richard Guenther
rguenth@tat.physik.uni-tuebingen.de
Mon Nov 29 13:02:00 GMT 2004
Hi!
This patch adjusts invoke.texi to match params.def and cgraphunit.c,
it also clarifies "growth in percent" which I get repeatedly confused
about.
Please apply,
Richard.
2004-11-29 Richard Guenther <richard.guenther@uni-tuebingen.de>
* doc/invoke.texi: Adjust default values for
large-function-growth and inline-unit-growth to match
params.def. Clarify used algorithm.
Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.559
diff -u -r1.559 invoke.texi
--- doc/invoke.texi 29 Nov 2004 09:33:10 -0000 1.559
+++ doc/invoke.texi 29 Nov 2004 11:18:24 -0000
@@ -5388,22 +5388,25 @@
The default value is 120.
@item large-function-insns
-The limit specifying really large functions. For functions greater than this
-limit inlining is constrained by @option{--param large-function-growth}.
-This parameter is useful primarily to avoid extreme compilation time caused by non-linear
-algorithms used by the backend.
+The limit specifying really large functions. For functions larger than this
+limit after inlining inlining is constrained by
+@option{--param large-function-growth}. This parameter is useful primarily
+to avoid extreme compilation time caused by non-linear algorithms used by the
+backend.
This parameter is ignored when @option{-funit-at-a-time} is not used.
The default value is 3000.
@item large-function-growth
Specifies maximal growth of large function caused by inlining in percents.
This parameter is ignored when @option{-funit-at-a-time} is not used.
-The default value is 200.
+The default value is 100 which limits large function growth to 2.0 times
+the original size.
@item inline-unit-growth
Specifies maximal overall growth of the compilation unit caused by inlining.
This parameter is ignored when @option{-funit-at-a-time} is not used.
-The default value is 150.
+The default value is 50 which limits unit growth to 1.5 times the original
+size.
@item max-inline-insns-recursive
@itemx max-inline-insns-recursive-auto
More information about the Gcc-patches
mailing list