# Function core::arch::x86::_mm_maddubs_epi16

1.27.0 · source ·

    pub unsafe fn _mm_maddubs_epi16(a: __m128i, b: __m128i) -> __m128i

Available on (x86 or x86-64) and target feature `ssse3` and x86 only.
Expand description

Multiplies corresponding pairs of packed 8-bit unsigned integer values contained in the first source operand and packed 8-bit signed integer values contained in the second source operand, add pairs of contiguous products with signed saturation, and writes the 16-bit sums to the corresponding bits in the destination.

Intel’s documentation