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

vwabdau.vx

T1 riscv simd insn
Vector Widening Unsigned Integer Absolute Difference and Accumulate 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 accumulates the results into the 2*SEW-bit elements of vd. The scalar is sign-extended or truncated to SEW before being interpreted as an unsigned value.

Syntax / Encoding

vwabdau.vx vd, vs2, xs1, vm | 111110xxxxxxxxxxx100xxxxx1010111 (mask=0xfc00707f match=0xf8004057)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV111110xxxxxxxxxxx100xxxxx10101110xfc00707f / 0xf8004057

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 accumulates the results
into the 2*SEW-bit elements of vd. The scalar is sign-extended or truncated
to SEW before being interpreted as an unsigned value.

Reserved when SEW is neither 8 nor 16.