On Fri, Jun 20, 2014 at 5:01 AM, Bingfeng Mei wrote:
> As a short term solution, I tried some simple non-linear functions as Richard
> suggested
> to penalize using too many IVs. For example, the following cost in
> ivopts_global_cost_for_size fixed my regression and actually improves
> perform
gcc.gnu.org
> Subject: Re: regs_used estimation in IVOPTS seriously flawed
>
> On Fri, Jun 20, 2014 at 5:01 PM, Bingfeng Mei wrote:
> >
> >
> >> -Original Message-
> >> From: Bin.Cheng [mailto:amker.ch...@gmail.com]
> >> Sent: 20 June 2014 06:25
&
On Fri, Jun 20, 2014 at 5:01 PM, Bingfeng Mei wrote:
>
>
>> -Original Message-
>> From: Bin.Cheng [mailto:amker.ch...@gmail.com]
>> Sent: 20 June 2014 06:25
>> To: Bingfeng Mei
>> Cc: gcc@gcc.gnu.org
>> Subject: Re: regs_used estimation in IV
> -Original Message-
> From: Bin.Cheng [mailto:amker.ch...@gmail.com]
> Sent: 20 June 2014 06:25
> To: Bingfeng Mei
> Cc: gcc@gcc.gnu.org
> Subject: Re: regs_used estimation in IVOPTS seriously flawed
>
> On Tue, Jun 17, 2014 at 10:59 PM, Bingfeng Mei wrote:
>
On Tue, Jun 17, 2014 at 10:59 PM, Bingfeng Mei wrote:
> Hi,
> I am looking at a performance regression in our code. A big loop produces
> and uses a lot of temporary variables inside the loop body. The problem
> appears that IVOPTS pass creates even more induction variables (from original
> 2 to 2
> -Original Message-
> From: Richard Biener [mailto:richard.guent...@gmail.com]
> Sent: 18 June 2014 12:36
> To: Bingfeng Mei
> Cc: gcc@gcc.gnu.org
> Subject: Re: regs_used estimation in IVOPTS seriously flawed
>
> On Tue, Jun 17, 2014 at 4:59 PM, Bingfeng Mei
On Tue, Jun 17, 2014 at 4:59 PM, Bingfeng Mei wrote:
> Hi,
> I am looking at a performance regression in our code. A big loop produces
> and uses a lot of temporary variables inside the loop body. The problem
> appears that IVOPTS pass creates even more induction variables (from original
> 2 to 27
Hi,
I am looking at a performance regression in our code. A big loop produces
and uses a lot of temporary variables inside the loop body. The problem
appears that IVOPTS pass creates even more induction variables (from original
2 to 27). It causes a lot of register spilling later and performance
ta