core::arch::x86

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 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