Re: vectorization issue

2010-05-26 Thread Richard Guenther
On Wed, May 26, 2010 at 4:27 PM, roy rosen wrote: > Hi, > > I have tried vectorization and encountered a problem which I can see > is common to some ports (I tried ia64 and bfin). > > For this function: > > #define ts unsigned short > void f(ts* __restrict__ a, ts* __restrict__ b, ts* __restrict__

vectorization issue

2010-05-26 Thread roy rosen
Hi, I have tried vectorization and encountered a problem which I can see is common to some ports (I tried ia64 and bfin). For this function: #define ts unsigned short void f(ts* __restrict__ a, ts* __restrict__ b, ts* __restrict__ x) { int i; for (i=0;i<1024;i++) x[i] = a[i] + b[