Re: [PATCH, rs6000] Early gimple folding of vec_mergeh and vec_mergel for float

2018-08-17 Thread Richard Biener
On August 17, 2018 5:02:53 PM GMT+02:00, Will Schmidt wrote: >On Fri, 2018-08-17 at 16:00 +0200, Richard Biener wrote: >> On Wed, Aug 8, 2018 at 12:59 AM Segher Boessenkool >> wrote: >> > >> > Hi! >> > >> > On Tue, Aug 07, 2018 at 02:24:58PM -0500, Will Schmidt wrote: >> > >This adds support

Re: [PATCH, rs6000] Early gimple folding of vec_mergeh and vec_mergel for float

2018-08-17 Thread Will Schmidt
On Fri, 2018-08-17 at 16:00 +0200, Richard Biener wrote: > On Wed, Aug 8, 2018 at 12:59 AM Segher Boessenkool > wrote: > > > > Hi! > > > > On Tue, Aug 07, 2018 at 02:24:58PM -0500, Will Schmidt wrote: > > >This adds support for gimple folding of vec_mergeh and vec_mergel > > > for float and do

Re: [PATCH, rs6000] Early gimple folding of vec_mergeh and vec_mergel for float

2018-08-17 Thread Richard Biener
On Wed, Aug 8, 2018 at 12:59 AM Segher Boessenkool wrote: > > Hi! > > On Tue, Aug 07, 2018 at 02:24:58PM -0500, Will Schmidt wrote: > >This adds support for gimple folding of vec_mergeh and vec_mergel > > for float and double types. Support for the integral types is already > > in-tree. > >

Re: [PATCH, rs6000] Early gimple folding of vec_mergeh and vec_mergel for float

2018-08-07 Thread Segher Boessenkool
Hi! On Tue, Aug 07, 2018 at 02:24:58PM -0500, Will Schmidt wrote: >This adds support for gimple folding of vec_mergeh and vec_mergel > for float and double types. Support for the integral types is already > in-tree. > + /* The permute_type will match the lhs for integral types. For double

[PATCH, rs6000] Early gimple folding of vec_mergeh and vec_mergel for float

2018-08-07 Thread Will Schmidt
Hi, This adds support for gimple folding of vec_mergeh and vec_mergel for float and double types. Support for the integral types is already in-tree. This change includes updates to the fold_mergehl_helper function to handle creating the (integral) permute vector when the vector type non i