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 (5)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
VABD.VV | Vector Single-Width Signed Integer Absolute Difference | 010001-----------010-----1010111 | 0x44002057 | 0xfc00707f |
VABDU.VV | Vector Single-Width Unsigned Integer Absolute Difference | 010011-----------010-----1010111 | 0x4c002057 | 0xfc00707f |
VABS.V | Vector Single-Width Signed Integer Absolute | 010010------10000010-----1010111 | 0x48082057 | 0xfc0ff07f |
VWABDA.VV | Vector Widening Signed Integer Absolute Difference and Accumulate, Overwrite Addend | 010101-----------010-----1010111 | 0x54002057 | 0xfc00707f |
VWABDAU.VV | Vector Widening Unsigned Integer Absolute Difference and Accumulate, Overwrite Addend | 010110-----------010-----1010111 | 0x58002057 | 0xfc00707f |