Function safe_arch::shl_imm_u64_m128i
source · pub fn shl_imm_u64_m128i<const IMM: i32>(a: m128i) -> m128i
Expand description
Shifts both u64
lanes left by an immediate.
let a = m128i::from([1_u64, 2]);
let c: [u64; 2] = shl_imm_u64_m128i::<3>(a).into();
assert_eq!(c, [1_u64 << 3, 2 << 3]);