fast multiplication of int8 arrays by constants
I wonder if there is a fast way of multiplying int8
arrays, i.e.
for(i = 0; i < n; ++i)
z[i] = x * y[i];
I see that the Intel intrinsics guide lists several SIMD instructions, such as _mm_mulhi_epi16
and _mm_mullo_epi16
that do something like this for int16
. Is there something similar for int8
that I'm missing?