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

vclmulh.vv

T1 riscv simd insn
Vector carry-less multiply high
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zvbc, Zkt-DIT
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZvbc, Zkt-DIT

Summary

Performs a carry-less multiply operation on each element in vector register vs2 with the corresponding element in vector register vs1, storing the high bits of the result in vector register vd according to mask vm.

Syntax / Encoding

vclmulh.vv vd, vs2, vs1, vm | 001101xxxxxxxxxxx010xxxxx1010111 (mask=0xfc00707f match=0x34002057)

Cross-Chip Latency & Throughput (2 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
SpacemiT X100—2—RVV 1.0, VLEN=256rvv_bench_timings
Tenstorrent Ascalon-X—1—RVV 1.0, VLEN=256rvv_bench_timings

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV001101xxxxxxxxxxx010xxxxx10101110xfc00707f / 0x34002057

Operands

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

Reference Notes

Performs a carry-less multiply operation on each element in vector register vs2 with the corresponding element in vector register vs1, storing the high bits of the result in vector register vd according to mask vm.