_mm256_idivrem_epi32
Classification
SVML, Arithmetic, CPUID Test: AVX
Header File
immintrin.h
Synopsis
 _mm256_idivrem_epi32(__m256i * mem_addr, __m256i a, __m256i b);
Description
Divide packed 32-bit integers in "a" by packed elements in "b", store the truncated results in "dst", and store the remainders as packed 32-bit integers into memory at "mem_addr".
Operation
FOR j := 0 to 7
	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:256] := 0