_mm_sra_epi16

Microsoft Specific

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

__m128i _mm_sra_epi16 (__m128i a, __m128i count);
PSRAW

Return Value

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

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Concepts

Shift Operations