_mm256_div_epu8
Classification
SVML, Arithmetic, CPUID Test: AVX
Header File
Synopsis
_mm256_div_epu8(__m256i a, __m256i b);
Description
Divide packed unsigned 8-bit integers in "a" by packed elements in "b", and store the truncated results in "dst".
Operation
FOR j := 0 to 31
i := 8*j
IF b[i+7:i] == 0
#DE
FI
dst[i+7:i] := Truncate8(a[i+7:i] / b[i+7:i])
ENDFOR
dst[MAX:256] := 0