[−][src]Macro safe_arch::shl_imm_u32_m128i
Shifts all u32
lanes left by an immediate.
let a = m128i::from([1, 2, 3, 4]); let c: [u32; 4] = shl_imm_u32_m128i!(a, 3).into(); assert_eq!(c, [1 << 3, 2 << 3, 3 << 3, 4 << 3]);
Shifts all u32
lanes left by an immediate.
let a = m128i::from([1, 2, 3, 4]); let c: [u32; 4] = shl_imm_u32_m128i!(a, 3).into(); assert_eq!(c, [1 << 3, 2 << 3, 3 << 3, 4 << 3]);