pub fn shr_all_u16_m128i(a: m128i, count: m128i) -> m128i
Available with target feature sse2 only.
Expand description

Shift each u16 lane to the right by the count in the lower u64 lane.

let a = m128i::from([1_u16, 2, 3, 4, 100, 200, 300, 400]);
let b = m128i::from([3_u64, 0]);
let c: [u16; 8] = shr_all_u16_m128i(a, b).into();
assert_eq!(c, [1_u16 >> 3, 2 >> 3, 3 >> 3, 4 >> 3, 100 >> 3, 200 >> 3, 300 >> 3, 400 >> 3,]);