Re: Re-apply reverted niter change 1/4

2016-04-19 Thread Bin.Cheng
On Tue, Apr 19, 2016 at 12:09 PM, Jan Hubicka wrote: >> > Index: tree-ssa-loop-ivopts.c >> > === >> > --- tree-ssa-loop-ivopts.c (revision 235064) >> > +++ tree-ssa-loop-ivopts.c (working copy) >> > @@ -121,7 +121,11 @@ avg_

Re: Re-apply reverted niter change 1/4

2016-04-19 Thread Jan Hubicka
> > Index: tree-ssa-loop-ivopts.c > > === > > --- tree-ssa-loop-ivopts.c (revision 235064) > > +++ tree-ssa-loop-ivopts.c (working copy) > > @@ -121,7 +121,11 @@ avg_loop_niter (struct loop *loop) > > { > >HOST_WIDE_INT

Re: Re-apply reverted niter change 1/4

2016-04-19 Thread Bin.Cheng
On Mon, Apr 18, 2016 at 6:24 PM, Jan Hubicka wrote: > Hi, > as discussed on IRC today, I would like to re-apply the patch to fix bogus > realistic bounds in niter. As it turned out, we seem to rely on this bogus > estimate in few benchmarks and there is miscompilation with avx512. > > The perform

Re-apply reverted niter change 1/4

2016-04-18 Thread Jan Hubicka
Hi, as discussed on IRC today, I would like to re-apply the patch to fix bogus realistic bounds in niter. As it turned out, we seem to rely on this bogus estimate in few benchmarks and there is miscompilation with avx512. The performance regressions should be solved my planned patch to introduce