Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-15 Thread Segher Boessenkool
Hi! On Wed, Jul 08, 2020 at 12:59:29PM -0700, Carl Love wrote: > [PATCH 5/6] rs6000, Add vector splat builtin support > +(define_insn "xxspltiw_v4si" > + [(set (match_operand:V4SI 0 "register_operand" "=wa") > + (unspec:V4SI [(match_operand:SI 1 "s32bit_cint_operand" "n")] > +

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-14 Thread Segher Boessenkool
Hi! On Wed, Jul 08, 2020 at 12:59:19PM -0700, Carl Love wrote: > [PATCH 4/6] rs6000, Add vector shift double builtin support > * config/rs6000/altivec.h (vec_sldb, vec_srdb): New defines. > * config/rs6000/altivec.md (UNSPEC_SLDB, UNSPEC_SRDB): New. > (SLDB_LR): New attribute. >

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-13 Thread Segher Boessenkool
Hi! On Wed, Jul 08, 2020 at 12:59:12PM -0700, Carl Love wrote: > [PATCH 3/6] rs6000, Add vector replace builtin support This is okay for trunk. Thanks! Segher

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-13 Thread Segher Boessenkool
On Thu, Jul 09, 2020 at 11:02:39AM -0500, will schmidt wrote: > > * config/rs6000/rs6000-call.c (P10_BUILTIN_VEC_REPLACE_ELT, > > P10_BUILTIN_VEC_REPLACE_UN): New. > > New what? Just "New." is fine :-) Segher

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-13 Thread Segher Boessenkool
Hi! On Wed, Jul 08, 2020 at 12:59:00PM -0700, Carl Love wrote: > [PATCH 2/6] rs6000 Add vector insert builtin support > +For little-endian, > +the generated code will be semantically equivalent to vinsbrx, vinshrx, > +or vinswrx instructions. Similarly for big-endian it will be semantically > +e

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-09 Thread will schmidt via Gcc-patches
On Wed, 2020-07-08 at 12:59 -0700, Carl Love wrote: > [PATCH 6/6] rs6000 Add vector blend, permute builtin support > > -- > V4 Fixes: > >Rebased on mainline. Changed FUTURE to P10. > - > > v3 fixes: >Replace spaces with tabs in ChangeLog descripti

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-09 Thread will schmidt via Gcc-patches
On Wed, 2020-07-08 at 12:59 -0700, Carl Love wrote: > [PATCH 5/6] rs6000, Add vector splat builtin support > > -- > V4 Fixes: > >Rebased on mainline. Changed FUTURE to P10. >define_predicate "s32bit_cint_operand" removed unnecessary cast in > definiti

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-09 Thread will schmidt via Gcc-patches
On Wed, 2020-07-08 at 12:59 -0700, Carl Love wrote: > [PATCH 4/6] rs6000, Add vector shift double builtin support > Nothing popped out at me for this patch. lgtm thanks -Will > -- > V4 Fixes: > >Rebased on mainline. Changed FUTURE to P10. >Changed SLDB

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-09 Thread will schmidt via Gcc-patches
On Wed, 2020-07-08 at 12:59 -0700, Carl Love wrote: > [PATCH 3/6] rs6000, Add vector replace builtin support > > -- > V4 Fixes: > >Rebased on mainline. Changed FUTURE to P10 in code and ChangeLog. >Set DEBUG to 0 in vec-replace-word-runnable.c test program

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-09 Thread will schmidt via Gcc-patches
On Wed, 2020-07-08 at 12:59 -0700, Carl Love wrote: > [PATCH 2/6] rs6000 Add vector insert builtin support > > > V4 changes > Rebased on mainline. Changed FUTURE to P10 as needed. > > > V3 changes > > Replace spaces w

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-09 Thread will schmidt via Gcc-patches
On Wed, 2020-07-08 at 12:58 -0700, Carl Love wrote: > [PATCH 1/6] rs6000, Update support for vec_extract Email subject needs to be updated too. This is at least correct in- line. Here and subsequent messages in thread. > > - > V4 changes > rebased onto mainline

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-08 Thread Carl Love via Gcc-patches
[PATCH 5/6] rs6000, Add vector splat builtin support -- V4 Fixes: Rebased on mainline. Changed FUTURE to P10. define_predicate "s32bit_cint_operand" removed unnecessary cast in definition. Changed define_expand "xxsplti32dx_v4si" to use "0" for const

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-08 Thread Carl Love via Gcc-patches
[PATCH 6/6] rs6000 Add vector blend, permute builtin support -- V4 Fixes: Rebased on mainline. Changed FUTURE to P10. - v3 fixes: Replace spaces with tabs in ChangeLog description. Fix implementation comments for define_expand "xxpermx" in file

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-08 Thread Carl Love via Gcc-patches
[PATCH 4/6] rs6000, Add vector shift double builtin support -- V4 Fixes: Rebased on mainline. Changed FUTURE to P10. Changed SLDB_LR to SLDB_lr Changed error ("argument 3 must be in the range 0 to 7"); to error ("argument 3 must be a constant in th

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-08 Thread Carl Love via Gcc-patches
[PATCH 3/6] rs6000, Add vector replace builtin support -- V4 Fixes: Rebased on mainline. Changed FUTURE to P10 in code and ChangeLog. Set DEBUG to 0 in vec-replace-word-runnable.c test program. Fixed too long lines in ChangeLog. -

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-08 Thread Carl Love via Gcc-patches
[PATCH 1/6] rs6000, Update support for vec_extract - V4 changes rebased onto mainline 7/2/2020 Add iterator name to Change log --- V3 changes Redo ChangeLog for code move. Replace spaces with tabs in ChangeLog. Replaced

Re: [PATCH 0/6 ver 4] ] Permute Class Operations

2020-07-08 Thread Carl Love via Gcc-patches
[PATCH 2/6] rs6000 Add vector insert builtin support V4 changes Rebased on mainline. Changed FUTURE to P10 as needed. V3 changes Replace spaces with of tabs in ChangeLog Ditto in gcc/config/rs6000/vsx.md. Updated