diff options
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gcc/params.def b/gcc/params.def index c424ad59f10..e1169be3149 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -245,6 +245,16 @@ DEFPARAM(PARAM_MAX_UNSWITCH_LEVEL, "The maximum number of unswitchings in a single loop", 3, 0, 0) +/* APPLE LOCAL begin lno */ +/* 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, 0, -1) +/* APPLE LOCAL end lno */ + /* The maximum number of iterations of a loop the brute force algorithm for analysis of # of iterations of the loop tries to evaluate. */ DEFPARAM(PARAM_MAX_ITERATIONS_TO_TRACK, @@ -377,8 +387,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, |