Re: [PATCH, rs6000] (v2) Fold vector shifts in GIMPLE

2017-06-16 Thread Richard Biener
On Wed, Jun 14, 2017 at 4:55 PM, Will Schmidt wrote: > On Tue, 2017-06-13 at 10:03 +0200, Richard Biener wrote: >> On Mon, Jun 12, 2017 at 11:56 PM, Will Schmidt >> wrote: >> > Hi, >> > >> > >> > diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c >> > index 63ca2d1..55592fb 1006

Re: [PATCH, rs6000] (v2) Fold vector shifts in GIMPLE

2017-06-14 Thread Will Schmidt
On Tue, 2017-06-13 at 10:03 +0200, Richard Biener wrote: > On Mon, Jun 12, 2017 at 11:56 PM, Will Schmidt > wrote: > > Hi, > > > > > > diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c > > index 63ca2d1..55592fb 100644 > > --- a/gcc/config/rs6000/rs6000.c > > +++ b/gcc/config/rs

Re: [PATCH, rs6000] (v2) Fold vector shifts in GIMPLE

2017-06-13 Thread Richard Biener
On Mon, Jun 12, 2017 at 11:56 PM, Will Schmidt wrote: > Hi, > > [PATCH, rs6000] (v2) Fold vector shifts in GIMPLE > > Add support for early expansion of vector shifts. Including > vec_sl (shift left), vec_sr (shift right), > vec_sra (shift right algebraic), vec_rl (rotate

[PATCH, rs6000] (v2) Fold vector shifts in GIMPLE

2017-06-12 Thread Will Schmidt
Hi, [PATCH, rs6000] (v2) Fold vector shifts in GIMPLE Add support for early expansion of vector shifts. Including vec_sl (shift left), vec_sr (shift right), vec_sra (shift right algebraic), vec_rl (rotate left). Part of this includes adding the vector shift right instructions to the list of