Re: [PATCH PR85190]Adjust pointer for aligned access

2018-04-11 Thread Richard Biener
On Wed, Apr 11, 2018 at 3:15 PM, Bin.Cheng wrote: > On Wed, Apr 11, 2018 at 10:46 AM, Richard Biener > wrote: >> On Tue, Apr 10, 2018 at 6:28 PM, Bin.Cheng wrote: >>> On Tue, Apr 10, 2018 at 3:58 PM, Bin.Cheng wrote: On Tue, Apr 10, 2018 at 2:26 PM, Jakub Jelinek wrote: > On Tue, Apr

Re: [PATCH PR85190]Adjust pointer for aligned access

2018-04-11 Thread Bin.Cheng
On Wed, Apr 11, 2018 at 10:46 AM, Richard Biener wrote: > On Tue, Apr 10, 2018 at 6:28 PM, Bin.Cheng wrote: >> On Tue, Apr 10, 2018 at 3:58 PM, Bin.Cheng wrote: >>> On Tue, Apr 10, 2018 at 2:26 PM, Jakub Jelinek wrote: On Tue, Apr 10, 2018 at 09:55:35AM +, Bin Cheng wrote: > Hi Rai

Re: [PATCH PR85190]Adjust pointer for aligned access

2018-04-11 Thread Richard Biener
On Tue, Apr 10, 2018 at 6:28 PM, Bin.Cheng wrote: > On Tue, Apr 10, 2018 at 3:58 PM, Bin.Cheng wrote: >> On Tue, Apr 10, 2018 at 2:26 PM, Jakub Jelinek wrote: >>> On Tue, Apr 10, 2018 at 09:55:35AM +, Bin Cheng wrote: Hi Rainer, could you please help me double check that this solves the

Re: [PATCH PR85190]Adjust pointer for aligned access

2018-04-10 Thread Bin.Cheng
On Tue, Apr 10, 2018 at 5:28 PM, Bin.Cheng wrote: > On Tue, Apr 10, 2018 at 3:58 PM, Bin.Cheng wrote: >> On Tue, Apr 10, 2018 at 2:26 PM, Jakub Jelinek wrote: >>> On Tue, Apr 10, 2018 at 09:55:35AM +, Bin Cheng wrote: Hi Rainer, could you please help me double check that this solves the

Re: [PATCH PR85190]Adjust pointer for aligned access

2018-04-10 Thread Bin.Cheng
On Tue, Apr 10, 2018 at 3:58 PM, Bin.Cheng wrote: > On Tue, Apr 10, 2018 at 2:26 PM, Jakub Jelinek wrote: >> On Tue, Apr 10, 2018 at 09:55:35AM +, Bin Cheng wrote: >>> Hi Rainer, could you please help me double check that this solves the issue? >>> >>> Thanks, >>> bin >>> >>> gcc/testsuite >>

Re: [PATCH PR85190]Adjust pointer for aligned access

2018-04-10 Thread Bin.Cheng
On Tue, Apr 10, 2018 at 2:26 PM, Jakub Jelinek wrote: > On Tue, Apr 10, 2018 at 09:55:35AM +, Bin Cheng wrote: >> Hi Rainer, could you please help me double check that this solves the issue? >> >> Thanks, >> bin >> >> gcc/testsuite >> 2018-04-10 Bin Cheng >> >> PR testsuite/85190 >>

Re: [PATCH PR85190]Adjust pointer for aligned access

2018-04-10 Thread Jakub Jelinek
On Tue, Apr 10, 2018 at 09:55:35AM +, Bin Cheng wrote: > Hi Rainer, could you please help me double check that this solves the issue? > > Thanks, > bin > > gcc/testsuite > 2018-04-10 Bin Cheng > > PR testsuite/85190 > * gcc.dg/vect/pr81196.c: Adjust pointer for aligned access.

Re: [PATCH PR85190]Adjust pointer for aligned access

2018-04-10 Thread Richard Biener
On Tue, Apr 10, 2018 at 11:55 AM, Bin Cheng wrote: > Hi, > Pointer q in gcc.dg/vect/pr81196.c is not aligned after vectorization, > resulting test failure for some targets. > This simple patch adjust it so that it's aligned. > > Is it OK? Yes, looks quite obvious. Richard. > Hi Rainer, could y