vsm3c.vi
Vector SM3 compression
Performs two rounds of SM3 compression. The current state of eight 32-bit words is read as an element group from vd, and eight 32-bit message words are read as an element group from vs2, of which only four are used. The next state of eight 32-bit words is written to vd. The 5-bit imm gives the round group, 0-31, that selects which two rounds are performed; for example, imm=1 performs rounds 2 and 3.
| This instruction must have data-independent timing when extension Zkt is enabled. |
Decode Variables
Bits<5> vs2 = $encoding[24:20];
Bits<5> imm = $encoding[19:15];
Bits<5> vd = $encoding[11:7];