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

core::arch::x86_64

# Function _mm_mulhi_epi16

1.27.0 · Source

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

Available on (x86 or x86-64) and target feature `sse2` and x86-64 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