Re: [PATCH] rs6000: Move V2DI vec_neg under power8-vector [PR105271]

2022-04-26 Thread Kewen.Lin via Gcc-patches
on 2022/4/26 11:25 PM, Segher Boessenkool wrote: > On Tue, Apr 26, 2022 at 05:16:18PM +0200, Jakub Jelinek wrote: >> Hi! >> >> On Fri, Apr 15, 2022 at 04:08:15PM +0800, Kewen.Lin via Gcc-patches wrote: >>> As PR105271 shows, __builtin_altivec_neg_v2di requires option >>> -mpower8-vector as its patt

Re: [PATCH] rs6000: Move V2DI vec_neg under power8-vector [PR105271]

2022-04-26 Thread Segher Boessenkool
On Tue, Apr 26, 2022 at 05:16:18PM +0200, Jakub Jelinek wrote: > Hi! > > On Fri, Apr 15, 2022 at 04:08:15PM +0800, Kewen.Lin via Gcc-patches wrote: > > As PR105271 shows, __builtin_altivec_neg_v2di requires option > > -mpower8-vector as its pattern expansion relies on subv2di which > > has guard V

Re: [PATCH] rs6000: Move V2DI vec_neg under power8-vector [PR105271]

2022-04-26 Thread Jakub Jelinek via Gcc-patches
Hi! On Fri, Apr 15, 2022 at 04:08:15PM +0800, Kewen.Lin via Gcc-patches wrote: > As PR105271 shows, __builtin_altivec_neg_v2di requires option > -mpower8-vector as its pattern expansion relies on subv2di which > has guard VECTOR_UNIT_P8_VECTOR_P (V2DImode). This fix is to move > the related lines

[PATCH] rs6000: Move V2DI vec_neg under power8-vector [PR105271]

2022-04-15 Thread Kewen.Lin via Gcc-patches
Hi, As PR105271 shows, __builtin_altivec_neg_v2di requires option -mpower8-vector as its pattern expansion relies on subv2di which has guard VECTOR_UNIT_P8_VECTOR_P (V2DImode). This fix is to move the related lines for __builtin_altivec_neg_v2di to the section of stanza power8-vector. Bootstrapp