Re: [PATCH v5] vect/rs6000: Support vector with length cost modeling

2020-08-05 Thread Kewen.Lin via Gcc-patches
on 2020/8/5 下午10:06, Segher Boessenkool wrote: > On Wed, Aug 05, 2020 at 08:27:57AM +0100, Richard Sandiford wrote: >> OK for the vectoriser parts with those changes, thanks. > > The rs6000 part is still fine as well. Thanks! > > Committed via r11-2586. Thanks all! BR, Kewen

Re: [PATCH v5] vect/rs6000: Support vector with length cost modeling

2020-08-05 Thread Segher Boessenkool
On Wed, Aug 05, 2020 at 08:27:57AM +0100, Richard Sandiford wrote: > OK for the vectoriser parts with those changes, thanks. The rs6000 part is still fine as well. Thanks! Segher

Re: [PATCH v5] vect/rs6000: Support vector with length cost modeling

2020-08-05 Thread Richard Sandiford
"Kewen.Lin" writes: > diff --git a/gcc/tree-vect-loop-manip.c b/gcc/tree-vect-loop-manip.c > index 490e7befea3..2a0d3b1840d 100644 > --- a/gcc/tree-vect-loop-manip.c > +++ b/gcc/tree-vect-loop-manip.c > @@ -412,7 +412,10 @@ vect_maybe_permute_loop_masks (gimple_seq *seq, > rgroup_controls *dest_r

[PATCH v5] vect/rs6000: Support vector with length cost modeling

2020-07-31 Thread Kewen.Lin via Gcc-patches
Hi Richard, New version v5 is attached. v5 main changes against v4: 1) use _stmt instead of _cnt to avoid confusion 2) factor out function vect_rgroup_iv_might_wrap_p 3) use generic scalar_stmt for min/max stmt Does this look better? Thanks in advance! BR, Kewen - gcc/ChangeLog: