[][src]Macro safe_arch::shl_imm_u16_m256i

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

Shifts all u16 lanes left by an immediate.

let a = m256i::from([1_u16, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4]);
let c: [u16; 16] = shl_imm_u16_m256i!(a, 1).into();
assert_eq!(c, [2, 4, 6, 8, 2, 4, 6, 8, 2, 4, 6, 8, 2, 4, 6, 8]);