_mm_mulhi_epu16 in core::arch::x86_64 - Rust
Description: Multiplies the packed unsigned 16-bit integers in `a` and `b`.

Skip to main content

## _mm_mulhi_epu16

# Function _mm_mulhi_epu16

1.27.0 (const: unstable) · Source

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

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

Multiplies the packed unsigned 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