Re: [PATCH 2/7 V3] rs6000: lenload/lenstore optab support

2020-06-11 Thread Kewen.Lin via Gcc-patches
Hi Segher, on 2020/6/12 上午6:55, Segher Boessenkool wrote: > Hi! > > On Wed, Jun 10, 2020 at 08:39:19PM +0800, Kewen.Lin wrote: >> +;; Define optab for vector access with length vectorization exploitation. >> +(define_expand "lenload" >> + [(match_operand:VEC_A 0 "vlogical_operand") >> + (match

Re: [PATCH 2/7 V3] rs6000: lenload/lenstore optab support

2020-06-11 Thread Segher Boessenkool
Hi! On Wed, Jun 10, 2020 at 08:39:19PM +0800, Kewen.Lin wrote: > +;; Define optab for vector access with length vectorization exploitation. > +(define_expand "lenload" > + [(match_operand:VEC_A 0 "vlogical_operand") > + (match_operand:VEC_A 1 "memory_operand") > + (match_operand:QI 2 "int_reg

[PATCH 2/7 V3] rs6000: lenload/lenstore optab support

2020-06-10 Thread Kewen.Lin via Gcc-patches
V3: Update the define_expand as optab changes. gcc/ChangeLog: 2020-MM-DD Kewen Lin * config/rs6000/vsx.md (lenload): New define_expand. (lenstore): Likewise. --- gcc/config/rs6000/vsx.md | 32 1 file changed, 32 insertions(+) diff --git a/