ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

add

T1 riscv alu insn
Integer add
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 I, Zkt-DIT
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsI, Zkt-DIT

Summary

Add the value in xs1 to xs2, and store the result in xd. Any overflow is thrown away.

Syntax / Encoding

add xd, xs1, xs2 | 0000000xxxxxxxxxx000xxxxx0110011 (mask=0xfe00707f match=0x00000033)

Cross-Chip Latency & Throughput (20 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Andes AX45MPV—0.64—RVV 1.0, VLEN=512rvv_bench_timings
SiFive X280—0.78—RVV 1.0, VLEN=512 (Tenstorrent Blackhole)rvv_bench_timings
SpacemiT X100—0.47—RVV 1.0, VLEN=256rvv_bench_timings
SpacemiT X60—0.62—RVV 1.0, VLEN=256rvv_bench_timings
Tenstorrent Ascalon-X—0.36—RVV 1.0, VLEN=256rvv_bench_timings
XuanTie C906—1—RVV 0.7.1, VLEN=128 (Allwinner D1)rvv_bench_timings
XuanTie C908—0.6—RVV 1.0, VLEN=128 (Kendryte K230)rvv_bench_timings
XuanTie C910—0.5—RVV 0.7.1, VLEN=128 (TH1520)rvv_bench_timings
XuanTie C920 (SG2042)—0.5—RVV 0.7.1, VLEN=128 (Milk-V Pioneer)rvv_bench_timings
XuanTie C920v2—0.62—RVV 1.0, VLEN=128rvv_bench_timings
Andes 45-Series10.51Andes45ALUllvm_sched_models
MIPS P8700 (RISC-V)10.51p8700WriteEitherALUllvm_sched_models
SiFive P670 / P60010.251SiFiveP600IntArithllvm_sched_models
SiFive P870 / P80010.251SiFiveP800IntArithllvm_sched_models
SpacemiT X10010.251SMTX100_IQllvm_sched_models
SpacemiT X60 (K1)10.51SMX60_IEUllvm_sched_models
Syntacore SCR7111ALUllvm_sched_models
Tenstorrent Ascalon-X111AscalonFXllvm_sched_models
XiangShan KunMingHu10.251XSPipeGroupALUllvm_sched_models
XiangShan NanHu10.251XS2ALUllvm_sched_models

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV0000000xxxxxxxxxx000xxxxx01100110xfe00707f / 0x00000033

Operands

NameDescription
xs2bits [24:20]
xs1bits [19:15]
xdbits [11:7]