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

vdot4a.vx

T1 riscv simd insn
Vector 4-element signed-signed dot-product accumulate (vector-scalar)
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zvdot4a8i, Zkt-DIT
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZvdot4a8i, Zkt-DIT

Summary

Computes the dot product of four signed 8-bit elements from vs2 and four signed 8-bit elements packed/replicated from the scalar xs1, sums the four products, and accumulates the signed 32-bit result into the corresponding 32-bit element of vd.

Syntax / Encoding

vdot4a.vx vd, vs2, xs1, vm | 101100xxxxxxxxxxx110xxxxx1010111 (mask=0xfc00707f match=0xb0006057)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV101100xxxxxxxxxxx110xxxxx10101110xfc00707f / 0xb0006057

Operands

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

Reference Notes

Computes the dot product of four signed 8-bit elements from `vs2` and four
signed 8-bit elements packed/replicated from the scalar `xs1`, sums the four
products, and accumulates the signed 32-bit result into the corresponding
32-bit element of `vd`.