Re: [PATCH][AArch64] Tweak Cortex-A57 vector cost

2016-11-11 Thread Richard Earnshaw
On 10/11/16 17:10, Wilco Dijkstra wrote: > The existing vector costs stop some beneficial vectorization. This is mostly > due > to vector statement cost being set to 3 as well as vector loads having a > higher > cost than scalar loads. This means that even when we vectorize 4x, it is > possibl

[PATCH][AArch64] Tweak Cortex-A57 vector cost

2016-11-10 Thread Wilco Dijkstra
The existing vector costs stop some beneficial vectorization. This is mostly due to vector statement cost being set to 3 as well as vector loads having a higher cost than scalar loads. This means that even when we vectorize 4x, it is possible that the cost of a vectorized loop is similar to the