[][src]Function safe_arch::shl_each_u64_m256i

#[must_use]pub fn shl_each_u64_m256i(a: m256i, count: m256i) -> m256i
This is supported with target feature avx2 only.

Lanewise u64 shift left by the matching u64 lane in count.

let a = m256i::from([0_u64, 1, 2, 13]);
let count = m256i::from([1_u64, 2, 3, 4]);
let b: [u64; 4] = shl_each_u64_m256i(a, count).into();
assert_eq!(b, [0, 4, 16, 208]);