aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorno-author <no-author@gcc.gnu.org>2004-04-30 06:51:33 +0000
committerno-author <no-author@gcc.gnu.org>2004-04-30 06:51:33 +0000
commit603c89e602c13bd50b99927daef8fb7698f80213 (patch)
tree08073c63a4cac33f9265cc57c46334e487960586 /gcc/params.def
parent03846eafd7c275b583a97c40554da04c978a110a (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-1745
'apple-gcc-1745'. git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple-gcc-1745@81329 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def21
1 files changed, 19 insertions, 2 deletions
diff --git a/gcc/params.def b/gcc/params.def
index 7bb97b1ab4a..28e7c2eb5f5 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -229,6 +229,14 @@ DEFPARAM(PARAM_MAX_UNSWITCH_LEVEL,
"The maximum number of unswitchings in a single loop",
3)
+/* This parameter limits the size of loop for that we attempt to
+ do doloop optimalization. We set this quite high so that we do
+ not punish unrolled loops. */
+DEFPARAM(PARAM_MAX_DOLOOP_INSNS,
+ "max-doloop-insns",
+ "The maximum number of instructions of loop processed by doloop optimization",
+ 1000)
+
DEFPARAM(HOT_BB_COUNT_FRACTION,
"hot-bb-count-fraction",
"Select fraction of the maximal count of repetitions of basic block in \
@@ -281,6 +289,13 @@ DEFPARAM(PARAM_MAX_CSE_PATH_LENGTH,
"The maximum length of path considered in cse",
10)
+/* The cost of expression in loop invariant motion to be considered
+ expensive. */
+DEFPARAM(PARAM_LIM_EXPENSIVE,
+ "lim-expensive",
+ "The minimum cost of expensive expression in the loop invariant motion",
+ 20)
+
/* The product of the next two is used to decide whether or not to
use .GLOBAL_VAR. See tree-dfa.c. */
DEFPARAM(PARAM_GLOBAL_VAR_THRESHOLD,
@@ -297,8 +312,10 @@ DEFPARAM(PARAM_MAX_CSELIB_MEMORY_LOCATIONS,
# define GGC_MIN_EXPAND_DEFAULT 0
# define GGC_MIN_HEAPSIZE_DEFAULT 0
#else
-# define GGC_MIN_EXPAND_DEFAULT 30
-# define GGC_MIN_HEAPSIZE_DEFAULT 4096
+/* APPLE LOCAL begin try to improve ggc */
+# define GGC_MIN_EXPAND_DEFAULT 100
+# define GGC_MIN_HEAPSIZE_DEFAULT 8192
+/* APPLE LOCAL end try to improve ggc*/
#endif
DEFPARAM(GGC_MIN_EXPAND,