I want to shift right every element of a __m128i register by a different amount.I know this is possible by multiplication if we want to shift left like below:
__m128i mul_constant = _mm_set_epi32(8, 4, 2, 1);
__m128i left_vshift = _mm_mullo_epi32(R, mul_constant);
But, what is the solution if we want to shift it right?