RE: How to extend SLP to support this case

2020-03-18 Thread Tamar Christina
Thanks Richard! This is very helpful to see where you’re going with the changes! Cheers, Tamar From: Richard Biener Sent: Friday, March 13, 2020 11:57 AM To: Tamar Christina Cc: Kewen.Lin ; GCC Development ; Segher Boessenkool Subject: Re: How to extend SLP to support this case On Tue, Mar

Re: How to extend SLP to support this case

2020-03-13 Thread Richard Biener via Gcc
On Tue, Mar 10, 2020 at 12:32 PM Tamar Christina wrote: > > > -Original Message- > > From: Gcc On Behalf Of Richard Biener > > Sent: Tuesday, March 10, 2020 11:12 AM > > To: Kewen.Lin > > Cc: GCC Development ; Segher Boessenkool > > > > S

Re: How to extend SLP to support this case

2020-03-10 Thread Kewen.Lin via Gcc
Hi Richi, on 2020/3/10 下午7:14, Richard Biener wrote: > On Tue, Mar 10, 2020 at 12:12 PM Richard Biener > wrote: >> >> On Tue, Mar 10, 2020 at 7:52 AM Kewen.Lin wrote: >>> >>> Hi all, >>> >>> I'm investigating whether GCC can vectorize the below case on ppc64le. >>> >>> extern void test(unsigne

Re: How to extend SLP to support this case

2020-03-10 Thread Kewen.Lin via Gcc
Hi Tamar, on 2020/3/10 下午7:31, Tamar Christina wrote: > >> -Original Message- >> From: Gcc On Behalf Of Richard Biener >> Sent: Tuesday, March 10, 2020 11:12 AM >> To: Kewen.Lin >> Cc: GCC Development ; Segher Boessenkool >> >> Subjec

Re: How to extend SLP to support this case

2020-03-10 Thread Kewen.Lin via Gcc
Hi Richi, on 2020/3/10 下午7:12, Richard Biener wrote: > On Tue, Mar 10, 2020 at 7:52 AM Kewen.Lin wrote: >> >> Hi all, >> >> But how to teach it to be aware of this? Currently the processing starts >> from bottom to up (from stores), can we do some analysis on the SLP >> instance, detect some patt

RE: How to extend SLP to support this case

2020-03-10 Thread Tamar Christina
> -Original Message- > From: Gcc On Behalf Of Richard Biener > Sent: Tuesday, March 10, 2020 11:12 AM > To: Kewen.Lin > Cc: GCC Development ; Segher Boessenkool > > Subject: Re: How to extend SLP to support this case > > On Tue, Mar 10, 2020 at 7:52 AM Kewen

Re: How to extend SLP to support this case

2020-03-10 Thread Richard Biener
On Tue, Mar 10, 2020 at 12:12 PM Richard Biener wrote: > > On Tue, Mar 10, 2020 at 7:52 AM Kewen.Lin wrote: > > > > Hi all, > > > > I'm investigating whether GCC can vectorize the below case on ppc64le. > > > > extern void test(unsigned int t[4][4]); > > > > void foo(unsigned char *p1, int i1

Re: How to extend SLP to support this case

2020-03-10 Thread Richard Biener
On Tue, Mar 10, 2020 at 7:52 AM Kewen.Lin wrote: > > Hi all, > > I'm investigating whether GCC can vectorize the below case on ppc64le. > > extern void test(unsigned int t[4][4]); > > void foo(unsigned char *p1, int i1, unsigned char *p2, int i2) > { > unsigned int tmp[4][4]; > unsig