Method mm256_sad_epu8
mm256_sad_epu8(v256, v256)
Compute the absolute differences of packed unsigned 8-bit integers in a and b, then horizontally sum each consecutive 8 differences to produce four unsigned 16-bit integers, and pack these unsigned 16-bit integers in the low 16 bits of 64-bit elements in dst.
Declaration
public static v256 mm256_sad_epu8(v256 a, v256 b)
Parameters
Type | Name | Description |
---|---|---|
v256 | a | Vector a |
v256 | b | Vector b |
Returns
Type | Description |
---|---|
v256 | Vector |