[][src]Function safe_arch::shr_all_i16_m256i

#[must_use]pub fn shr_all_i16_m256i(a: m256i, count: m128i) -> m256i
This is supported with target feature avx2 only.

Lanewise i16 shift right by the lower i64 lane of count.

let a =
  m256i::from([5_i16, 6, 2, 5, 4, 3, 1, 0, -12, 13, 56, 21, 8, 7, 6, 5]);
let count = m128i::from(1_i128);
let b: [i16; 16] = shr_all_i16_m256i(a, count).into();
assert_eq!(b, [2, 3, 1, 2, 2, 1, 0, 0, -6, 6, 28, 10, 4, 3, 3, 2]);