On Fri, Aug 2, 2019 at 9:50 AM Eric Botcazou <ebotca...@adacore.com> wrote: > > Hi, > > some users tried to tweak the profile parameters in order to get more inlining > and did the tweaking backwards, i.e. they actually got less inlining without > realizing it. So the attached patch reworks the description of the 4 profile > parameters as well as changes a couple of things: > 1. it gracefully handles a hot-bb-count-fraction of 0, > 2. it sets the range of unlikely-bb-count-fraction to (0, 0) like the others. > > Tested on x86_64-suse-linux, OK for the mainline?
OK. Thanks, Richard. > > 2019-08-02 Eric Botcazou <ebotca...@adacore.com> > > * doc/invoke.texi (hot-bb-count-fraction): Rework description. > (hot-bb-count-ws-permille): Likewise. > (hot-bb-frequency-fraction): Likewise. > (unlikely-bb-count-fraction): Likewise. > * params.def (hot-bb-count-fraction): Rework description. > (hot-bb-count-ws-permille): Likewise. > (hot-bb-frequency-fraction): Likewise. > (unlikely-bb-count-fraction): Likewise. Remove min and max values. > * predict.c (get_hot_bb_threshold): Deal with zero > HOT_BB_COUNT_FRACTION. > > -- > Eric Botcazou