RISC-V ISA Explorer · Vector Subsets (Zv/Zve)
Zvabd: Vector Abs-Diff
Frozen · version 0.7.0
Element-wise absolute difference on integer vectors, with widening accumulate forms for video and imaging.
Typical use: Absolute-difference kernels such as SAD
Open Zvabd in the explorerDependencies
Requires
Instructions (8)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
VABD.VV | Vector Single-Width Signed Integer Absolute Difference | 010101-----------010-----1010111 | 0x54002057 | 0xfc00707f |
VABD.VX | Vector Single-Width Signed Integer Absolute Difference with Scalar | 010101-----------110-----1010111 | 0x54006057 | 0xfc00707f |
VABDU.VV | Vector Single-Width Unsigned Integer Absolute Difference | 010110-----------010-----1010111 | 0x58002057 | 0xfc00707f |
VABDU.VX | Vector Single-Width Unsigned Integer Absolute Difference with Scalar | 010110-----------110-----1010111 | 0x58006057 | 0xfc00707f |
VWABDA.VV | Vector Widening Signed Integer Absolute Difference and Accumulate, Overwrite Addend | 111101-----------000-----1010111 | 0xf4000057 | 0xfc00707f |
VWABDA.VX | Vector Widening Signed Integer Absolute Difference and Accumulate with Scalar | 111101-----------100-----1010111 | 0xf4004057 | 0xfc00707f |
VWABDAU.VV | Vector Widening Unsigned Integer Absolute Difference and Accumulate, Overwrite Addend | 111110-----------000-----1010111 | 0xf8000057 | 0xfc00707f |
VWABDAU.VX | Vector Widening Unsigned Integer Absolute Difference and Accumulate with Scalar | 111110-----------100-----1010111 | 0xf8004057 | 0xfc00707f |