------- Comment #13 from rguenth at gcc dot gnu dot org  2006-04-10 15:31 
-------
I wonder if it helps placing this between cunroll and ivopts...

void foo(int n, int m, int stridex, int stridey, int stridex2, int stridey2,
double *x, double *y)
{
 for (int k=0; k<m; ++k)
  for (int j=0; j<n; ++j)
    for (int i=0; i<2; ++i)
      x[i + stridex*j + stridex2*k] = y[i + stridey*j + stridey2*k];
}

producing better IV selection than what we get now.


-- 


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


  • [Bug tree-optimization... rguenth at gcc dot gnu dot org

Reply via email to