Webcentive RISC-V Reference

vclmul.vv

Vector carry-less multiply

Extension
Zvbc
XLEN
RV32 and RV64
Assembly (riscv-unified-db)
vclmul.vv vd, vs2, vs1, vm
Length
32-bit

Encoding

31262524201915141211760
001100vmvs2vs1010vd1010111

Match 0x30002057, mask 0xfc00707f. Source: vclmul.vv 31..26=0x0C vm vs2 vs1 14..12=0x2 vd 6..0=0x57 in riscv-opcodes/extensions/rv_zvbc.

FieldBitsriscv-opcodes name
vm25vm
vs224:20vs2
vs119:15vs1
vd11:7vd

Description

Performs a carry-less multiply operation on each element in vector register vs2 with the corresponding element in vector register vs1, storing results in vector register vd according to mask vm. This is useful for cryptographic operations.

Description from riscv-unified-db, reformatted.

Specification and related pages