vsm3me.vv
Vector SM3 message expansion
Encoding
| 3126 | 25 | 2420 | 1915 | 1412 | 117 | 60 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 100000 | 1 | vs2 | vs1 | 010 | vd | 1110111 | |||||||||||||||||||||||||
Match 0x82002077, mask 0xfe00707f. Source: vsm3me.vv 31..26=0x20 25=1 vs2 vs1 14..12=0x2 vd 6..0=0x77 in riscv-opcodes/extensions/rv_zvksh.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| vs2 | 24:20 | vs2 |
| vs1 | 19:15 | vs1 |
| vd | 11:7 | vd |
Description
Performs eight rounds of SM3 message expansion. The sixteen most recent 32-bit message words are read as two eight-element groups from vs1 and vs2, and the next eight 32-bit message words are written to vd as an eight-element group.
Description from riscv-unified-db, reformatted.