VCLMUL.VV
Vector Carry-less Multiply
VCLMUL.VV vd, vs2, vs1, vm
Performs carry-less multiplication on vector elements (GF(2^n)).
Encoding
Binary Layout
001100
31:26
vm
25
vs2
24:20
vs1
19:15
010
14:12
vd
11:7
1010111
6:0
Operands
-
vd
Destination vector register -
vs2
Source vector register 2 -
vs1
Source vector register 1
Example
VCLMUL.VV v1, v4, v2, v0.t
Related
More in Zvbc
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Carry-less multiplies each 64-bit element of vs2 by the corresponding element of vs1 and writes the low 64 bits of the 128-bit product to vd. Defined only for SEW=64.
Operation
foreach(i < vl): vd[i] = clmul(vs2[i], vs1[i])[63:0];