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