Function safe_arch::shl_all_u64_m128i
source · pub fn shl_all_u64_m128i(a: m128i, count: m128i) -> m128i
Expand description
Shift all u64
lanes to the left by the count
in the lower u64
lane.
New bits are 0s.
let a = m128i::from([1_u64, 2]);
let b = m128i::from([3_u64, 0]);
let c: [u64; 2] = shl_all_u64_m128i(a, b).into();
assert_eq!(c, [1 << 3, 2 << 3]);