_mm_subs_epu16
Classification
SSE_ALL, Arithmetic, CPUID Test: SSE2
Header File
Instruction
PSUBUSW xmm, xmm
Synopsis
_mm_subs_epu16(__m128i a, __m128i b);
Description
Subtract packed unsigned 16-bit integers in "b" from packed unsigned 16-bit integers in "a" using saturation, and store the results in "dst".
Operation
FOR j := 0 to 7
i := j*16
dst[i+15:i] := SaturateU16(a[i+15:i] - b[i+15:i])
ENDFOR