_mm_mulhi_epu16

Microsoft Specific

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

__m128i _mm_mulhi_epu16 (__m128i a, __m128i b);
PMULHUW

Return Value

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

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

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Arithmetic Operations (Integer SSE2 Intrinsics)