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