Re: [PATCH, rs6000] Lower vec_promote_demote vectorization cost for P8/P9

2019-10-09 Thread Segher Boessenkool
Hi Kewen, On Wed, Oct 09, 2019 at 02:43:02PM +0800, Kewen.Lin wrote: > This patch is to lower vec_promote_demote vectorization cost in > rs6000_builtin_vectorization_cost. It's similar to what we committed > for vec_perm, the current cost for vec_promote_demote is also > overpriced for Power8 and

[PATCH, rs6000] Lower vec_promote_demote vectorization cost for P8/P9

2019-10-08 Thread Kewen.Lin
Hi, This patch is to lower vec_promote_demote vectorization cost in rs6000_builtin_vectorization_cost. It's similar to what we committed for vec_perm, the current cost for vec_promote_demote is also overpriced for Power8 and Power9 since Power8 and Power9 has supported more units for permute/unpa