[][src]Function safe_arch::shr_each_u32_m256i

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

Lanewise u32 shift right by the matching u32 lane in count.

let a = m256i::from([0_u32, 1111, 2999, 13888, 5444, 6222, 7333, 11111]);
let count = m256i::from([1_i32, 2, 3, 4, 5, 4, 3, 2]);
let b: [u32; 8] = shr_each_u32_m256i(a, count).into();
assert_eq!(b, [0, 277, 374, 868, 170, 388, 916, 2777]);