Hi!I have a lot of circular buffers and I wonder if it is possible to vectorize the inner loops. They will typically look like this (read phase):
[cpp]void read(float *buf, float *u, int pbuf, const int bufferLength) int s; for(s=0; s I can make the bufferLength power of 2, and simplify the above to something like:[c]void read(float *buf, float *u, int pbuf, const int bufferLength) int s; for(s=0; sHowever, it still won't vectorize. The compiler says "loop was not vectorized: dereference too complex", which I kind of understand. So my question is, is there anything smart I can do here? Is it even possible to vectorize this kind of operation?Thanks!