Re: [PATCH] Fix PR56118

2015-11-16 Thread Richard Biener
On Fri, 13 Nov 2015, Alan Lawrence wrote: > On 10/11/15 09:34, Richard Biener wrote: > > > > The following fixes PR56118 by adjusting the cost model handling of > > basic-block vectorization to favor the vectorized version in case > > estimated cost is the same as the estimated cost of the scalar

Re: [PATCH] Fix PR56118

2015-11-13 Thread Alan Lawrence
On 10/11/15 09:34, Richard Biener wrote: The following fixes PR56118 by adjusting the cost model handling of basic-block vectorization to favor the vectorized version in case estimated cost is the same as the estimated cost of the scalar version. This makes sense because we over-estimate the ve

[PATCH] Fix PR56118

2015-11-10 Thread Richard Biener
The following fixes PR56118 by adjusting the cost model handling of basic-block vectorization to favor the vectorized version in case estimated cost is the same as the estimated cost of the scalar version. This makes sense because we over-estimate the vectorized cost in several places. Bootstrap