_mm_madd_epi16 in core::arch::x86 - Rust
Description: Multiplies and then horizontally add signed 16 bit integers in `a` and `b`.

Skip to main content

## _mm_madd_epi16

# Function _mm_madd_epi16

1.27.0 · Source

    pub fn _mm_madd_epi16(a: __m128i, b: __m128i) -> __m128i

Available on x86 and target feature `sse2` only.
Expand description

Multiplies and then horizontally add signed 16 bit integers in `a` and `b`.

Multiplies packed signed 16-bit integers in `a` and `b`, producing intermediate signed 32-bit integers. Horizontally add adjacent pairs of intermediate 32-bit integers.

Intel’s documentation