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

vabdu.vx

T1 riscv simd insn
Vector Single-Width Unsigned Integer Absolute Difference with Scalar
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 unsigned integer operands from vector register vs2 and scalar register xs1, and writes the SEW-bit results to vd according to mask vm. The scalar is sign-extended or truncated to SEW before being interpreted as an unsigned value.

Syntax / Encoding

vabdu.vx vd, vs2, xs1, vm | 010110xxxxxxxxxxx110xxxxx1010111 (mask=0xfc00707f match=0x58006057)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV010110xxxxxxxxxxx110xxxxx10101110xfc00707f / 0x58006057

Operands

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

Reference Notes

Computes the element-wise absolute difference of unsigned integer operands
from vector register vs2 and scalar register xs1, and writes the SEW-bit
results to vd according to mask vm. The scalar is sign-extended or truncated
to SEW before being interpreted as an unsigned value.

Supports SEW of 8, 16, and 32, and SEW of 64 when Zve64x is implemented.