← Home

vgmul.vv

Vector multiply over GHASH Galois-field

Multiplies the 128-bit element groups in vd (multiplier) and vs2 (multiplicand) over GF(2^128^) and writes the product to vd. The multiplication is a carry-less multiply of two 128-bit polynomials modulo the GHASH polynomial x^128^ + x^7^ + x^2^ + x + 1. This is the same as `vghsh.vv` with a zero cipher text block.

This instruction has data-independent execution timing.

Assembly format

vgmul.vv vd, vs2

Encoding

313029282726252423222120191817161514131211109876543210
1010001vs210001010vd1110111

Decode variables

VariableBitsWidth
vs2[24:20]5
vd[11:7]5

No execution pseudocode is available for this instruction.

Defined by

Zvkg

Access

SUVSVU
AlwaysAlwaysAlwaysAlways

Version af3eaf9+cheriot.f635218

Data from the RISC-V Unified Database, copyright RISC-V International and contributors.

CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.

This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.