* [[vpu]]
* [[sv/int_fp_mv]]
* TODO review <https://en.m.wikipedia.org/wiki/Multimedia_Acceleration_eXtensions>
+* <https://en.m.wikipedia.org/wiki/Sum_of_absolute_differences>
# Summary
| ------------ | ------------------------ |
| average-add. | result = (src1 + src2 + 1) >> 1 |
| abs-diff | result = abs (src1-src2) |
+| abs-accumulate| result += abs (src1, src2) |
| signed min | result = (src1 < src2) ? src1 : src2 use bitmanip |
| signed max | result = (src1 > src2) ? src1 : src2 use bitmanip |
| bitwise sel | (a ? b : c) - use bitmanip ternary |
*These do not exist in the scalar ISA and would need to be added*
+## abs-accumulate
+
+signed and unsigned variants needed:
+
+ result += (src1 > src2) ? truncate(src1-src2) :
+ truncate(src2-src1)
+
+*These do not exist in the scalar ISA and would need to be added*
+
## vmaxs\* / vmaxu\* (and min)
signed and unsigned, 8/16/32: these are all of the form: