[−][src]Function safe_arch::mul_widen_u32_odd_m128i
#[must_use]pub fn mul_widen_u32_odd_m128i(a: m128i, b: m128i) -> m128i
This is supported with target feature
sse2
only.Multiplies the odd u32
lanes and gives the widened (u64
) results.
let a = m128i::from([1, 7, u32::MAX, 7]); let b = m128i::from([5, 7, u32::MAX, 7]); let c: [u64; 2] = mul_widen_u32_odd_m128i(a, b).into(); assert_eq!(c, [(1 * 5), (u32::MAX as u64 * u32::MAX as u64)]);