http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50789



Andrey Turetskiy <andrey.turetskiy at gmail dot com> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |andrey.turetskiy at gmail

                   |                            |dot com



--- Comment #11 from Andrey Turetskiy <andrey.turetskiy at gmail dot com> 
2013-04-17 08:31:29 UTC ---

It looks like gathers can be used for vectorization in cases like:



#define N 1024



float x[4*N], y[N];



void foo ()

{

  int i;

  for (i = 0; i < N; i++)

    y[i] = x[179 + 3*i];

}



Now this code isn't vectorized.

In addition there are a lot of such exampes in SPECS 2006. Vectorization with

gathers can give noticeable gain.

Reply via email to