Webcentive RISC-V Reference

vsm3me.vv

Vector SM3 message expansion

Extension
Zvks, Zvksh
XLEN
RV32 and RV64
Assembly (riscv-unified-db)
vsm3me.vv vd, vs2, vs1
Length
32-bit

Encoding

31262524201915141211760
1000001vs2vs1010vd1110111

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.

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

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.

Specification and related pages