Re: [RFC: Patch 0/6] Rewrite the noce-ifcvt cost models

2016-06-10 Thread James Greenhalgh
On Thu, Jun 09, 2016 at 10:58:52AM -0600, Jeff Law wrote: > On 06/02/2016 10:53 AM, James Greenhalgh wrote: > >Hi, > > > >When I was working in the area last year, I promised to revisit the cost > >model for noce if-conversion and see if I could improve the modeling. This > >turned out to be more t

Re: [RFC: Patch 0/6] Rewrite the noce-ifcvt cost models

2016-06-09 Thread Jeff Law
On 06/02/2016 10:53 AM, James Greenhalgh wrote: Hi, When I was working in the area last year, I promised to revisit the cost model for noce if-conversion and see if I could improve the modeling. This turned out to be more tricky than I expected. This patch set rewrites the cost model for noce i

Re: [RFC: Patch 0/6] Rewrite the noce-ifcvt cost models

2016-06-03 Thread Bernd Schmidt
On 06/02/2016 06:53 PM, James Greenhalgh wrote: As I iterated through versions of this patch set, I realised that all we really wanted for ifcvt was a way to estimate the cost of a branch in units that were comparable to the cost of instructions. The trouble with BRANCH_COST wasn't that it was re

[RFC: Patch 0/6] Rewrite the noce-ifcvt cost models

2016-06-02 Thread James Greenhalgh
Hi, When I was working in the area last year, I promised to revisit the cost model for noce if-conversion and see if I could improve the modeling. This turned out to be more tricky than I expected. This patch set rewrites the cost model for noce if-conversion. The goal is to rationalise the units