Skip to main content

## _mm_mulhi_epi16

# Function _mm_mulhi_epi16

1.27.0 (const: unstable) · Source

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

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

Multiplies the packed 16-bit integers in `a` and `b`.

The multiplication produces intermediate 32-bit integers, and returns the high 16 bits of the intermediate integers.

Intel’s documentation