_mm512_subrsetb_epi32
Classification
KNC, Arithmetic, CPUID Test: KNCNI
Header File
Instruction
VPSUBRSETBD zmm, k, zmm
Synopsis
_mm512_subrsetb_epi32(__m512i v2, __m512i v3, __mmask16 * borrow);
Description
Performs element-by-element subtraction of packed 32-bit integer elements in "v2" from "v3", storing the results in "dst" and "v2". The borrowed value from the subtraction difference for the nth element is written to the nth bit of "borrow" (borrow flag).
Operation
FOR j := 0 to 15
i := j*32
dst[i+31:i] := v3[i+31:i] - v2[i+31:i]
borrow[j] := Borrow(v3[i+31:i] - v2[i+31:i])
ENDFOR
dst[MAX:512] := 0