[−][src]Function safe_arch::mul_u64_low_bits_m256i
#[must_use]pub fn mul_u64_low_bits_m256i(a: m256i, b: m256i) -> m256i
This is supported with target feature
avx2
only.Multiply the lower u32
within each u64
lane, u64
output.
let a = m256i::from([1_u64, 2, 3, 4]); let b = m256i::from([5_u64, 6, 7, 8]); let c: [u64; 4] = mul_u64_low_bits_m256i(a, b).into(); assert_eq!(c, [5_u64, 12, 21, 32]);
- Intrinsic:
_mm256_mul_epu32
- Assembly:
vpmuludq ymm, ymm, ymm