Re: [PATCH ver 4] RS6000, add VSX mask manipulation support

2020-07-09 Thread Segher Boessenkool
Hi Carl, On Wed, Jul 08, 2020 at 01:22:33PM -0700, Carl Love wrote: > The following patch adds support for builtins vec_genbm(), vec_genhm(), > vec_genwm(), vec_gendm(), vec_genqm(), vec_cntm(), vec_expandm(), > vec_extractm(). Support for instructions mtvsrbm, mtvsrhm, mtvsrwm, > mtvsrdm, mtvsr

Re: [PATCH ver 4] RS6000, add VSX mask manipulation support

2020-07-08 Thread Carl Love via Gcc-patches
Will: > > > > > @@ -5701,3 +5716,55 @@ > >"TARGET_POWER10" > >" %x0,%x1" > >[(set_attr "type" "vecfloat")]) > > + > > +;; VSX mask manipulation instructions > > +;;;(define_expand "vec_mtvsrbm" > > +;;; [(set (match_operand:V16QI 0 "altivec_register_operand" "=v") > > +;;;(un

Re: [PATCH ver 4] RS6000, add VSX mask manipulation support

2020-07-08 Thread will schmidt via Gcc-patches
On Wed, 2020-07-08 at 09:22 -0700, Carl Love wrote: > Will, Segher: > > I fixed up the patch based on Will's comments. I thought I had made > and committed the fixes that Will caught, but no Sorry about > that. I will get this right yet. > > Carl Love > --

[PATCH ver 4] RS6000, add VSX mask manipulation support

2020-07-08 Thread Carl Love via Gcc-patches
Will, Segher: I fixed up the patch based on Will's comments. I thought I had made and committed the fixes that Will caught, but no Sorry about that. I will get this right yet. Carl Love --- Version 4 vec_mtvsrbm wa