[][src]Macro safe_arch::shr_imm_u32_m256i

macro_rules! shr_imm_u32_m256i {
    ($a:expr, $imm:expr) => { ... };
}
This is supported with target feature avx2 only.

Shifts all u32 lanes right by an immediate.

let a = m256i::from([1_i32, 2, 3, 4, 5, 6, 7, 8]);
let c: [u32; 8] = shr_imm_u32_m256i!(a, 1).into();
assert_eq!(c, [0, 1, 1, 2, 2, 3, 3, 4]);