int i,j; float* data; float x,y; data[j] = data[i] + x; data[i] = data[i] - x; data[j+1] = data[i+1] - y; data[i+1] = data[i+1] + y;
Is there a way to use addsub/addsub2 to do the add and sub in parallel?
int i,j; float* data; float x,y; data[j] = data[i] + x; data[i] = data[i] - x; data[j+1] = data[i+1] - y; data[i+1] = data[i+1] + y;
Is there a way to use addsub/addsub2 to do the add and sub in parallel?