[−][src]Function safe_arch::shl_all_u32_m128i
#[must_use]pub fn shl_all_u32_m128i(a: m128i, count: m128i) -> m128i
This is supported with target feature
sse2
only.Shift all u32
lanes to the left by the count
in the lower u64
lane.
New bits are 0s.
let a = m128i::from([1_u32, 2, 3, 4]); let b = m128i::from([3_u64, 0]); let c: [u32; 4] = shl_all_u32_m128i(a, b).into(); assert_eq!(c, [1 << 3, 2 << 3, 3 << 3, 4 << 3]);