ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

vabdu.vv

T1 riscv simd insn
Vector Single-Width Unsigned Integer Absolute Difference
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zvabd
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZvabd

Summary

Computes the element-wise absolute difference of two unsigned integer SEW-bit source operands vs1 and vs2 and writes the result to vd according to mask vm.

Syntax / Encoding

vabdu.vv vd, vs2, vs1, vm | 010110xxxxxxxxxxx010xxxxx1010111 (mask=0xfc00707f match=0x58002057)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV010110xxxxxxxxxxx010xxxxx10101110xfc00707f / 0x58002057

Operands

NameDescription
vmbits [25]
vs2bits [24:20]
vs1bits [19:15]
vdbits [11:7]

Reference Notes

Computes the element-wise absolute difference of two unsigned integer SEW-bit
source operands vs1 and vs2 and writes the result to vd according to mask vm.

Supports SEW of 8, 16, and 32. If the Zve64x extension is supported, SEW 64 is also supported.