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

Zvdot4a8i

T1 riscv feature feature
Vector Dot-Product (4-element, 8-bit integer)
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon Scopev0.1.0 (development)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
ExtensionsZve32x
Note: Extension state: development

Summary

Convolution operations have seen considerable speedup on other microprocessor architectures with the adoption of specialized dot-product instructions. Such convolutions are used in many AI/ML, image-processing, and DSP algorithms. These algorithms can be found in benchmark suites used to measure the relative performance of microprocessor cores against each other.

Syntax / Encoding

Zvdot4a8i v0.1.0 (development)

Reference Notes

Convolution operations have seen considerable speedup on other microprocessor
architectures with the adoption of specialized dot-product instructions. Such
convolutions are used in many AI/ML, image-processing, and DSP algorithms.
These algorithms can be found in benchmark suites used to measure the
relative performance of microprocessor cores against each other.

The dot product operation is defined for four INT8 values held in a 32-bit
element group, with an accumulation back into a single 32-bit value via
quad-widening. The dot-product operation takes the 8-bit values at the same
index from each source and multiplies them together. The four products are
summed together and accumulated into the 32-bit element of the destination
register. If the instruction variant has any signed source data, the
accumulation is performed into a signed value.

Given that the source data is 8-bit and accumulation is performed into
32-bit, it is presumed that overflow is infrequent, so no saturation option
has been provided.

This extension was previously known as Zvqdotq; it was renamed to Zvdot4a8i
(with the instruction mnemonics renamed from vqdot* to vdot4a*) following
ARC feedback.