Re: [PATCH GCC8][29/33]New register pressure estimation

2017-06-07 Thread Bin.Cheng
On Wed, May 17, 2017 at 1:24 PM, Richard Biener wrote: > On Mon, May 15, 2017 at 5:50 PM, Bin.Cheng wrote: >> On Thu, May 11, 2017 at 11:39 AM, Richard Biener >> wrote: >>> On Tue, Apr 18, 2017 at 12:53 PM, Bin Cheng wrote: Hi, Currently IVOPTs shares the same register pressure comput

Re: [PATCH GCC8][29/33]New register pressure estimation

2017-05-18 Thread Bin.Cheng
On Thu, May 18, 2017 at 11:41 AM, Richard Sandiford wrote: > "Bin.Cheng" writes: >> On Wed, May 17, 2017 at 1:37 PM, Richard Sandiford >> wrote: >>> "Bin.Cheng" writes: -/* Calculates cost for having N_REGS registers. This number includes - induction variables, invariant variables

Re: [PATCH GCC8][29/33]New register pressure estimation

2017-05-18 Thread Richard Sandiford
"Bin.Cheng" writes: > On Wed, May 17, 2017 at 1:37 PM, Richard Sandiford > wrote: >> "Bin.Cheng" writes: >>> -/* Calculates cost for having N_REGS registers. This number includes >>> - induction variables, invariant variables and invariant expressions. */ >>> +/* Estimate register pressure f

Re: [PATCH GCC8][29/33]New register pressure estimation

2017-05-18 Thread Bin.Cheng
On Wed, May 17, 2017 at 1:37 PM, Richard Sandiford wrote: > "Bin.Cheng" writes: >> -/* Calculates cost for having N_REGS registers. This number includes >> - induction variables, invariant variables and invariant expressions. */ >> +/* Estimate register pressure for loop having N_INVS invaria

Re: [PATCH GCC8][29/33]New register pressure estimation

2017-05-17 Thread Richard Sandiford
"Bin.Cheng" writes: > -/* Calculates cost for having N_REGS registers. This number includes > - induction variables, invariant variables and invariant expressions. */ > +/* Estimate register pressure for loop having N_INVS invariants and N_CANDS > + induction variables. Note N_INVS includes

Re: [PATCH GCC8][29/33]New register pressure estimation

2017-05-17 Thread Richard Biener
On Mon, May 15, 2017 at 5:50 PM, Bin.Cheng wrote: > On Thu, May 11, 2017 at 11:39 AM, Richard Biener > wrote: >> On Tue, Apr 18, 2017 at 12:53 PM, Bin Cheng wrote: >>> Hi, >>> Currently IVOPTs shares the same register pressure computation with RTL >>> loop invariant pass, >>> which doesn't work

Re: [PATCH GCC8][29/33]New register pressure estimation

2017-05-15 Thread Bin.Cheng
On Thu, May 11, 2017 at 11:39 AM, Richard Biener wrote: > On Tue, Apr 18, 2017 at 12:53 PM, Bin Cheng wrote: >> Hi, >> Currently IVOPTs shares the same register pressure computation with RTL loop >> invariant pass, >> which doesn't work very well. This patch introduces specific interface for >

Re: [PATCH GCC8][29/33]New register pressure estimation

2017-05-11 Thread Bin.Cheng
On Thu, May 11, 2017 at 11:39 AM, Richard Biener wrote: > On Tue, Apr 18, 2017 at 12:53 PM, Bin Cheng wrote: >> Hi, >> Currently IVOPTs shares the same register pressure computation with RTL loop >> invariant pass, >> which doesn't work very well. This patch introduces specific interface for >

Re: [PATCH GCC8][29/33]New register pressure estimation

2017-05-11 Thread Richard Biener
On Tue, Apr 18, 2017 at 12:53 PM, Bin Cheng wrote: > Hi, > Currently IVOPTs shares the same register pressure computation with RTL loop > invariant pass, > which doesn't work very well. This patch introduces specific interface for > IVOPTs. > The general idea is described in the cover message a

[PATCH GCC8][29/33]New register pressure estimation

2017-04-18 Thread Bin Cheng
Hi, Currently IVOPTs shares the same register pressure computation with RTL loop invariant pass, which doesn't work very well. This patch introduces specific interface for IVOPTs. The general idea is described in the cover message as below: C) Current implementation shares the same register pr