Re: [PATCH] Remove arc profile histogram in non-LTO mode.

2018-09-21 Thread Martin Liška
On 9/21/18 6:05 AM, Bin.Cheng wrote: > On Thu, Sep 20, 2018 at 6:43 PM Jan Hubicka wrote: >> >>> On Thu, Sep 20, 2018 at 5:26 PM Jan Hubicka wrote: > On Thu, Sep 20, 2018 at 2:11 AM Martin Liška wrote: >> >> Hello. >> >> I've been working for some time on a patch that si

Re: [PATCH] Remove arc profile histogram in non-LTO mode.

2018-09-20 Thread Bin.Cheng
On Thu, Sep 20, 2018 at 6:43 PM Jan Hubicka wrote: > > > On Thu, Sep 20, 2018 at 5:26 PM Jan Hubicka wrote: > > > > > > > On Thu, Sep 20, 2018 at 2:11 AM Martin Liška wrote: > > > > > > > > > > Hello. > > > > > > > > > > I've been working for some time on a patch that simplifies how we set > > >

Re: [PATCH] Remove arc profile histogram in non-LTO mode.

2018-09-20 Thread Jan Hubicka
> On Thu, Sep 20, 2018 at 5:26 PM Jan Hubicka wrote: > > > > > On Thu, Sep 20, 2018 at 2:11 AM Martin Liška wrote: > > > > > > > > Hello. > > > > > > > > I've been working for some time on a patch that simplifies how we set > > > > the hotness threshold of basic blocks. Currently, we calculate so

Re: [PATCH] Remove arc profile histogram in non-LTO mode.

2018-09-20 Thread Bin.Cheng
On Thu, Sep 20, 2018 at 5:26 PM Jan Hubicka wrote: > > > On Thu, Sep 20, 2018 at 2:11 AM Martin Liška wrote: > > > > > > Hello. > > > > > > I've been working for some time on a patch that simplifies how we set > > > the hotness threshold of basic blocks. Currently, we calculate so called > > > ar

Re: [PATCH] Remove arc profile histogram in non-LTO mode.

2018-09-20 Thread Jan Hubicka
> On Thu, Sep 20, 2018 at 2:11 AM Martin Liška wrote: > > > > Hello. > > > > I've been working for some time on a patch that simplifies how we set > > the hotness threshold of basic blocks. Currently, we calculate so called > > arc profile histograms that should identify edges that cover 99.9% of

Re: [PATCH] Remove arc profile histogram in non-LTO mode.

2018-09-19 Thread Bin.Cheng
On Thu, Sep 20, 2018 at 2:11 AM Martin Liška wrote: > > Hello. > > I've been working for some time on a patch that simplifies how we set > the hotness threshold of basic blocks. Currently, we calculate so called > arc profile histograms that should identify edges that cover 99.9% of all > branchin

[PATCH] Remove arc profile histogram in non-LTO mode.

2018-09-19 Thread Martin Liška
Hello. I've been working for some time on a patch that simplifies how we set the hotness threshold of basic blocks. Currently, we calculate so called arc profile histograms that should identify edges that cover 99.9% of all branching. These edges are then identified as hot. Disadvantage of the ap