Share via


_mm_mul_epu32

Microsoft Specific

Emits the Streaming SIMD Extensions 2 (SSE2) instruction PMULUDQ. This instruction multiplies two 32-bit unsigned integers from the first parameter with two 32-bit unsigned integers from the second parameter and returns two 64-bit unsigned integers.

Each source argument contains four 32-bit unsigned integers, and the result contains two 64-bit unsigned integers. The first and third elements from the first argument are multiplied by the corresponding elements from the second argument to calculate the lower and upper elements of the result. The second and fourth elements of the sources are ignored.

__m128i _mm_mul_epu32 (__m128i a, __m128i b);
PMULUDQ

Return Value

A 128-bit value that contains two 64-bit unsigned integers. The result can be expressed by the following equations.

r0 := a0 * b0
r1 := a2 * b2

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Arithmetic Operations (Integer SSE2 Intrinsics)