Re: Add new --param knobs for inliner

2019-01-07 Thread Jan Hubicka
> On 1/5/19 11:58 AM, Jan Hubicka wrote: > > @@ -791,7 +791,7 @@ want_inline_small_function_p (struct cgr > >ipa_hints hints = estimate_edge_hints (e); > >int big_speedup = -1; /* compute this lazily */ > > > > - if (growth <= 0) > > + if (growth <= PARAM_VALUE (PARAM_VA

Re: Add new --param knobs for inliner

2019-01-07 Thread Pat Haugen
On 1/5/19 11:58 AM, Jan Hubicka wrote: > @@ -791,7 +791,7 @@ want_inline_small_function_p (struct cgr >ipa_hints hints = estimate_edge_hints (e); >int big_speedup = -1; /* compute this lazily */ > > - if (growth <= 0) > + if (growth <= PARAM_VALUE (PARAM_VALUE (PARAM_MAX

Re: Add new --param knobs for inliner

2019-01-07 Thread Jan Hubicka
> Jan Hubicka wrote: > > > uinlined-* should be useful for architecutures with greater function > > call overhead than modern x86 chips (which is good portion of them, > > especially s390 as I learnt on Cauldron). It would be nice to benchmark > > effect of those and tune default in config/* files

Re: Add new --param knobs for inliner

2019-01-07 Thread Ulrich Weigand
Jan Hubicka wrote: > uinlined-* should be useful for architecutures with greater function > call overhead than modern x86 chips (which is good portion of them, > especially s390 as I learnt on Cauldron). It would be nice to benchmark > effect of those and tune default in config/* files. I think th

Add new --param knobs for inliner

2019-01-05 Thread Jan Hubicka
Hi, this patch adds new parameters to ipa-inline. max-inline-insns-size is useful to increase inlining limits for programs with large abstraction penalty. uinlined-* should be useful for architecutures with greater function call overhead than modern x86 chips (which is good portion of them, especi