Method mm256_mpsadbw_epu8
mm256_mpsadbw_epu8(v256, v256, Int32)
Compute the sum of absolute differences (SADs) of quadruplets of unsigned 8-bit integers in a compared to those in b, and store the 16-bit results in dst. Eight SADs are performed for each 128-bit lane using one quadruplet from b and eight quadruplets from a. One quadruplet is selected from b starting at on the offset specified in imm8. Eight quadruplets are formed from sequential 8-bit integers selected from a starting at the offset specified in imm8.
Declaration
public static v256 mm256_mpsadbw_epu8(v256 a, v256 b, int imm8)
Parameters
Type | Name | Description |
---|---|---|
v256 | a | Vector a |
v256 | b | Vector b |
Int32 | imm8 | Offset |
Returns
Type | Description |
---|---|
v256 | Vector |