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

vwsubu.vv

T1 riscv simd insn
Vector widening unsigned subtraction
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zvl32b, Zkt-DIT
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZvl32b, Zkt-DIT

Summary

Performs unsigned subtraction on elements from vector registers vs2 and vs1, widens the results, and stores them in vector register vd, using vector mask vm. The operation follows standard unsigned arithmetic rules.

Syntax / Encoding

vwsubu.vv vd, vs2, vs1, vm | 110010xxxxxxxxxxx010xxxxx1010111 (mask=0xfc00707f match=0xc8002057)

Cross-Chip Latency & Throughput (6 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
SiFive P870—0.5—RVV 1.0, VLEN=128rvv_bench_timings
SiFive X280—2.14—RVV 1.0, VLEN=512 (Tenstorrent Blackhole)rvv_bench_timings
SpacemiT X100—2—RVV 1.0, VLEN=256rvv_bench_timings
SpacemiT X60—2—RVV 1.0, VLEN=256rvv_bench_timings
Tenstorrent Ascalon-X—1—RVV 1.0, VLEN=256rvv_bench_timings
XuanTie C920v2—1—RVV 1.0, VLEN=128rvv_bench_timings

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV110010xxxxxxxxxxx010xxxxx10101110xfc00707f / 0xc8002057

Operands

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

Reference Notes

Performs unsigned subtraction on elements from vector registers vs2 and vs1, widens the results, and stores them in vector register vd, using vector mask vm. The operation follows standard unsigned arithmetic rules.