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

vrem.vv

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

Summary

Performs remainder operation on elements from vector registers vs2 and vs1 and stores results in vector register vd, using vector mask vm.

Syntax / Encoding

vrem.vv vd, vs2, vs1, vm | 100011xxxxxxxxxxx010xxxxx1010111 (mask=0xfc00707f match=0x8c002057)

Cross-Chip Latency & Throughput (11 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Andes AX45MPV—36—RVV 1.0, VLEN=512rvv_bench_timings
SiFive P870—13.7—RVV 1.0, VLEN=128rvv_bench_timings
SiFive X280—39.14—RVV 1.0, VLEN=512 (Tenstorrent Blackhole)rvv_bench_timings
SpacemiT X100—24.41—RVV 1.0, VLEN=256rvv_bench_timings
SpacemiT X60—25.75—RVV 1.0, VLEN=256rvv_bench_timings
Tenstorrent Ascalon-X—6—RVV 1.0, VLEN=256rvv_bench_timings
XuanTie C906—15—RVV 0.7.1, VLEN=128 (Allwinner D1)rvv_bench_timings
XuanTie C908—25.7—RVV 1.0, VLEN=128 (Kendryte K230)rvv_bench_timings
XuanTie C910—7—RVV 0.7.1, VLEN=128 (TH1520)rvv_bench_timings
XuanTie C920 (SG2042)—7—RVV 0.7.1, VLEN=128 (Milk-V Pioneer)rvv_bench_timings
XuanTie C920v2—12.39—RVV 1.0, VLEN=128rvv_bench_timings

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV100011xxxxxxxxxxx010xxxxx10101110xfc00707f / 0x8c002057

Operands

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