_mm_udivrem_epi32
Classification
SVML, Arithmetic, CPUID Test: SSE
Header File
immintrin.h
Synopsis
 _mm_udivrem_epi32(__m128i * mem_addr, __m128i a, __m128i b);
Description
Divide packed unsigned 32-bit integers in "a" by packed elements in "b", store the truncated results in "dst", and store the remainders as packed unsigned 32-bit integers into memory at "mem_addr".
Operation
FOR j := 0 to 3
	i := 32*j
	dst[i+31:i] := TRUNCATE(a[i+31:i] / b[i+31:i])
	MEM[mem_addr+i+31:mem_addr+i] := REMAINDER(a[i+31:i] / b[i+31:i])
ENDFOR
dst[MAX:128] := 0