Re: [PATCH] rs6000: Enable 32bit variable vec_insert [PR99718]

2021-03-29 Thread Segher Boessenkool
Hi! On Fri, Mar 26, 2021 at 10:26:57PM -0500, Xionghu Luo wrote: > 32bit and P7 VSX could also benefit a lot from the variable vec_insert > implementation with shift/insert/shift back method. > * config/rs6000/altivec.md (altivec_lvsl_reg): Change to ... > (altivec_lvsl_reg_): ... thi

Re: [PATCH] rs6000: Enable 32bit variable vec_insert [PR99718]

2021-03-27 Thread David Edelsohn via Gcc-patches
On Fri, Mar 26, 2021 at 11:27 PM Xionghu Luo wrote: > > From: "luo...@cn.ibm.com" > > 32bit and P7 VSX could also benefit a lot from the variable vec_insert > implementation with shift/insert/shift back method. > > Tested pass on P7BE/P8BE/P8LE{-m32,m64} and P9LE{m64}. I successfully bootstrappe

[PATCH] rs6000: Enable 32bit variable vec_insert [PR99718]

2021-03-26 Thread Xionghu Luo via Gcc-patches
From: "luo...@cn.ibm.com" 32bit and P7 VSX could also benefit a lot from the variable vec_insert implementation with shift/insert/shift back method. Tested pass on P7BE/P8BE/P8LE{-m32,m64} and P9LE{m64}. gcc/ChangeLog: PR target/99718 * config/rs6000/altivec.md (altivec_lvsl_re