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

vssra.vi

T1 riscv simd insn
Vector signed shift right arithmetic with immediate
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 signed arithmetic right shift on elements from vector register vs2 by immediate shift amount and stores results in vector register vd, using vector mask vm. The operation preserves the sign bit.

Syntax / Encoding

vssra.vi vd, vs2, imm, vm | 101011xxxxxxxxxxx011xxxxx1010111 (mask=0xfc00707f match=0xac003057)

Cross-Chip Latency & Throughput (3 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
XuanTie C906—4—RVV 0.7.1, VLEN=128 (Allwinner D1)rvv_bench_timings
XuanTie C910—1—RVV 0.7.1, VLEN=128 (TH1520)rvv_bench_timings
XuanTie C920 (SG2042)—1—RVV 0.7.1, VLEN=128 (Milk-V Pioneer)rvv_bench_timings

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV101011xxxxxxxxxxx011xxxxx10101110xfc00707f / 0xac003057

Operands

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

Reference Notes

Performs signed arithmetic right shift on elements from vector register vs2 by immediate shift amount and stores results in vector register vd, using vector mask vm. The operation preserves the sign bit.