Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-08-12 Thread Bin.Cheng
On Tue, Aug 9, 2016 at 4:43 PM, Bin.Cheng wrote: > On Sat, Aug 6, 2016 at 9:20 PM, Andreas Schwab wrote: >> On Mi, Jul 13 2016, "Bin.Cheng" wrote: >> >>> Patch re-tested/applied on trunk as r238301. >> >> This breaks gcc.dg/vect/vect-117.c on powerpc. > Hi Andreas, > Sorry for the inconvenience,

Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-08-09 Thread Bin.Cheng
On Sat, Aug 6, 2016 at 9:20 PM, Andreas Schwab wrote: > On Mi, Jul 13 2016, "Bin.Cheng" wrote: > >> Patch re-tested/applied on trunk as r238301. > > This breaks gcc.dg/vect/vect-117.c on powerpc. Hi Andreas, Sorry for the inconvenience, I will have a look. Thanks, bin > > Andreas. > > -- > Andre

Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-08-06 Thread Andreas Schwab
On Mi, Jul 13 2016, "Bin.Cheng" wrote: > Patch re-tested/applied on trunk as r238301. This breaks gcc.dg/vect/vect-117.c on powerpc. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely dif

Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-07-14 Thread Bin.Cheng
On Thu, Jul 14, 2016 at 10:49 AM, Thomas Schwinge wrote: > Hi! > > On Wed, 13 Jul 2016 16:09:21 +0100, "Bin.Cheng" wrote: >> Patch re-tested/applied on trunk as r238301. As I mentioned >> previously, gcc.dg/vect/vect-mask-store-move-1.c fails now because of >> PR65206. > > Unless you intend to w

Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-07-14 Thread Thomas Schwinge
Hi! On Wed, 13 Jul 2016 16:09:21 +0100, "Bin.Cheng" wrote: > Patch re-tested/applied on trunk as r238301. As I mentioned > previously, gcc.dg/vect/vect-mask-store-move-1.c fails now because of > PR65206. Unless you intend to work on PR65206 (Richard's last comment was more than a year ago, on 2

Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-07-13 Thread Bin.Cheng
On Fri, Jul 1, 2016 at 1:06 PM, Richard Biener wrote: > On Tue, Jun 28, 2016 at 8:18 AM, Bin.Cheng wrote: >> On Tue, Jun 14, 2016 at 1:57 PM, Richard Biener >> wrote: >>> On Mon, Jun 13, 2016 at 12:01 PM, Bin Cheng wrote: Hi, GCC vectorizer generates many unnecessary runtime alias che

Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-07-01 Thread Richard Biener
On Tue, Jun 28, 2016 at 8:18 AM, Bin.Cheng wrote: > On Tue, Jun 14, 2016 at 1:57 PM, Richard Biener > wrote: >> On Mon, Jun 13, 2016 at 12:01 PM, Bin Cheng wrote: >>> Hi, >>> GCC vectorizer generates many unnecessary runtime alias checks known at >>> compilation time. For some data-reference p

Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-06-27 Thread Bin.Cheng
On Tue, Jun 14, 2016 at 1:57 PM, Richard Biener wrote: > On Mon, Jun 13, 2016 at 12:01 PM, Bin Cheng wrote: >> Hi, >> GCC vectorizer generates many unnecessary runtime alias checks known at >> compilation time. For some data-reference pairs, alias relation can be >> resolved at compilation tim

Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-06-14 Thread Richard Biener
On Mon, Jun 13, 2016 at 12:01 PM, Bin Cheng wrote: > Hi, > GCC vectorizer generates many unnecessary runtime alias checks known at > compilation time. For some data-reference pairs, alias relation can be > resolved at compilation time, in this case, we can simply skip the alias > check. For s

Re: [PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-06-13 Thread Bin Cheng
exposes existing issue in PR65206. Vectorizer's dependence analyzer should be fixed for this. Thanks, bin > From: gcc-patches-ow...@gcc.gnu.org on behalf > of Bin Cheng > Sent: 13 June 2016 11:01 > To: gcc-patches@gcc.gnu.org > Cc: nd > Subject: [PATCH GCC]Resolve

[PATCH GCC]Resolve compilation time known alias checks in vectorizer

2016-06-13 Thread Bin Cheng
Hi, GCC vectorizer generates many unnecessary runtime alias checks known at compilation time. For some data-reference pairs, alias relation can be resolved at compilation time, in this case, we can simply skip the alias check. For some other data-reference pairs, alias relation can be realized