core::arch::x86

Function _mm_srai_epi16

1.27.0 · source
pub unsafe fn _mm_srai_epi16(a: __m128i, const IMM8: i32) -> __m128i
Available on (x86 or x86-64) and target feature sse2 and x86 only.
Expand description

Shifts packed 16-bit integers in a right by IMM8 while shifting in sign bits.

Intel’s documentation