This documentation is archived and is not being maintained.

_mm_mulhi_epi16

Microsoft Specific

Multiplies the 8 signed 16-bit integers from a by the 8 signed 16-bit integers from b.

__m128i _mm_mulhi_epi16 (__m128i a, __m128i b);
PMULHW

Packs the upper 16 bits of the 8 signed 32-bit results.

r0 := (a0 * b0)[31:16]
r1 := (a1 * b1)[31:16]
...
r7 := (a7 * b7)[31:16]

Header: emmintrin.h

END Microsoft Specific

Show: