Function mul_i64_low_bits_m256i
pub fn mul_i64_low_bits_m256i(a: m256i, b: m256i) -> m256i
Available on crate feature
dep_safe_arch
only.Expand description
Multiply the lower i32
within each i64
lane, i64
output.
let a = m256i::from([1_i64, 2, 3, 4]);
let b = m256i::from([5_i64, 6, 7, -8]);
let c: [i64; 4] = mul_i64_low_bits_m256i(a, b).into();
assert_eq!(c, [5_i64, 12, 21, -32]);
- Intrinsic:
_mm256_mul_epi32
- Assembly:
vpmuldq ymm, ymm, ymm