dst[i] eqaul src[i] multiply by dst[i-1] in avx or sse

61 Views Asked by At

I have a array with 32 bit float, like this:

_m512 float_array = _mm512_setr_ps(a, b, c, d,.....);

how can i get: _m512 float_array_mul = [a*b, a*b*c, a*b*c*d, ....];

in other words, Operation like this: dst[i+31:i] = src[i+31:i] * dst[i: i-31]; o

i have no idea about this, Are there some tricks to achieve this?

0

There are 0 best solutions below