Function safe_arch::shr_all_u32_m128i
source ยท pub fn shr_all_u32_m128i(a: m128i, count: m128i) -> m128i
Available with target feature
sse2
only.Expand description
Shift each u32
lane to the right by the count
in the lower u64
lane.
let a = m128i::from([1_u32, 2, 300, 400]);
let b = m128i::from([3_u64, 0]);
let c: [u32; 4] = shr_all_u32_m128i(a, b).into();
assert_eq!(c, [1 >> 3, 2 >> 3, 300 >> 3, 400 >> 3,]);