Re: Inner loop unable to compute sufficient information during vectorization

2009-06-02 Thread Ira Rosen
Abhishek Shrivastav wrote on 31/05/2009 16:44:34: > In this case, I think that Outer loop could be vectorized as there is > no dependency in the loop,the access pattern is simple enough and > there is unit stride in both the loops. Current version 4.4.* is not > doing outer loop vectorization.

Re: Inner loop unable to compute sufficient information during vectorization

2009-05-31 Thread Abhishek Shrivastav
In this case, I think that Outer loop could be vectorized as there is no dependency in the loop,the access pattern is simple enough and there is unit stride in both the loops. Current version 4.4.* is not doing outer loop vectorization. On Tue, May 26, 2009 at 5:57 PM, Ira Rosen wrote: > > > gcc-

Re: Inner loop unable to compute sufficient information during vectorization

2009-05-26 Thread Ira Rosen
gcc-ow...@gcc.gnu.org wrote on 25/05/2009 21:53:41: > for a loop like > > 1 for(i=0;i 2 for(j=0;j 3 a[i][j] = a[i][j]+b[i][j]; > > GCC 4.3.* is unable to get the information for the inner loop that > array reference 'a' is alias of each other and generates code f

Inner loop unable to compute sufficient information during vectorization

2009-05-25 Thread Abhishek Shrivastav
for a loop like 1 for(i=0;i