_mm_srai_epi16

Microsoft Specific

Shifts the 8 signed 16-bit integers in a right by count bits while shifting in the sign bit.

__m128i _mm_srai_epi16 (__m128i a, int count);
PSRAW

Return Value

r0 := a0 >> count
r1 := a1 >> count
...
r7 := a7 >> count

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Shift Operations