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

vwabda.vx

T1 riscv simd insn
Vector Widening Signed 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 signed 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.

Syntax / Encoding

vwabda.vx vd, vs2, xs1, vm | 111101xxxxxxxxxxx100xxxxx1010111 (mask=0xfc00707f match=0xf4004057)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV111101xxxxxxxxxxx100xxxxx10101110xfc00707f / 0xf4004057

Operands

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

Reference Notes

Computes the element-wise absolute difference of signed 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.

Reserved when SEW is neither 8 nor 16.