Re: VEC_DUPLICATE_EXPR options (was Re: [PATCH, RFC, rs6000] enable GIMPLE folding of vec_splat)

2018-08-23 Thread Richard Biener
On Sat, Aug 18, 2018 at 7:01 PM Richard Sandiford wrote: > > Richard Biener writes: > > On Tue, Aug 7, 2018 at 9:25 PM Will Schmidt > > wrote: > >> > >> Hi > >> Enable GIMPLE folding of the vec_splat() intrinsic. > >> > >> For review.. feedback is expected. :-) > >> > >> I came up with the foll

VEC_DUPLICATE_EXPR options (was Re: [PATCH, RFC, rs6000] enable GIMPLE folding of vec_splat)

2018-08-18 Thread Richard Sandiford
Richard Biener writes: > On Tue, Aug 7, 2018 at 9:25 PM Will Schmidt wrote: >> >> Hi >> Enable GIMPLE folding of the vec_splat() intrinsic. >> >> For review.. feedback is expected. :-) >> >> I came up with the following after spending some time poking around >> at the tree_vec_extract() and vecto

Re: [PATCH, RFC, rs6000] enable GIMPLE folding of vec_splat

2018-08-17 Thread Richard Biener
On Tue, Aug 7, 2018 at 9:25 PM Will Schmidt wrote: > > Hi > Enable GIMPLE folding of the vec_splat() intrinsic. > > For review.. feedback is expected. :-) > > I came up with the following after spending some time poking around > at the tree_vec_extract() and vector_element() functions as seen > in

Re: [PATCH, RFC, rs6000] enable GIMPLE folding of vec_splat

2018-08-09 Thread Will Schmidt
On Thu, 2018-08-09 at 08:53 -0500, Bill Schmidt wrote: > > On Aug 7, 2018, at 2:25 PM, Will Schmidt wrote: > > > > Hi > > Enable GIMPLE folding of the vec_splat() intrinsic. > > > > For review.. feedback is expected. :-) > > > > I came up with the following after spending some time poking aroun

Re: [PATCH, RFC, rs6000] enable GIMPLE folding of vec_splat

2018-08-09 Thread Bill Schmidt
> On Aug 7, 2018, at 2:25 PM, Will Schmidt wrote: > > Hi > Enable GIMPLE folding of the vec_splat() intrinsic. > > For review.. feedback is expected. :-) > > I came up with the following after spending some time poking around > at the tree_vec_extract() and vector_element() functions as seen

[PATCH, RFC, rs6000] enable GIMPLE folding of vec_splat

2018-08-07 Thread Will Schmidt
Hi Enable GIMPLE folding of the vec_splat() intrinsic. For review.. feedback is expected. :-) I came up with the following after spending some time poking around at the tree_vec_extract() and vector_element() functions as seen in tree-vect-generic.c looking for insights. Some of this see