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
| 3126 | 25 | 2420 | 1915 | 1412 | 117 | 60 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 001100 | vm | vs2 | vs1 | 010 | vd | 1010111 | |||||||||||||||||||||||||
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.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| vm | 25 | vm |
| vs2 | 24:20 | vs2 |
| vs1 | 19:15 | vs1 |
| vd | 11:7 | vd |
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.