RISC-V ISA Explorer · Vector Cryptography (Zvk*)
Zvks: Vector ShangMi Suite
Ratified 2023-09 · version 1.0.0
Shorthand for the vector ShangMi suite: SM4, SM3, crypto bitmanip, and data-independent timing.
Typical use: Vector SMx algorithms
Open Zvks in the explorerDependencies
Requires
Required by
Instructions (14)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
VANDN.VV | Vector AND-NOT | 000001-----------000-----1010111 | 0x4000057 | 0xfc00707f |
VANDN.VX | Vector AND-NOT with scalar | 000001-----------100-----1010111 | 0x4004057 | 0xfc00707f |
VBREV8.V | Vector byte reverse within elements | 010010------01000010-----1010111 | 0x48042057 | 0xfc0ff07f |
VREV8.V | Vector byte reverse | 010010------01001010-----1010111 | 0x4804a057 | 0xfc0ff07f |
VROL.VV | Vector rotate left by vector | 010101-----------000-----1010111 | 0x54000057 | 0xfc00707f |
VROL.VX | Vector rotate left by scalar | 010101-----------100-----1010111 | 0x54004057 | 0xfc00707f |
VROR.VI | Vector rotate right by immediate | 01010------------011-----1010111 | 0x50003057 | 0xf800707f |
VROR.VV | Vector rotate right by vector | 010100-----------000-----1010111 | 0x50000057 | 0xfc00707f |
VROR.VX | Vector rotate right by scalar | 010100-----------100-----1010111 | 0x50004057 | 0xfc00707f |
VSM3C.VI | Vector SM3 compression with immediate | 1010111----------010-----1110111 | 0xae002077 | 0xfe00707f |
VSM3ME.VV | Vector SM3 message expansion | 1000001----------010-----1110111 | 0x82002077 | 0xfe00707f |
VSM4K.VI | Vector SM4 key schedule with immediate | 1000011----------010-----1110111 | 0x86002077 | 0xfe00707f |
VSM4R.VS | Vector SM4 round function with scalar | 1010011-----10000010-----1110111 | 0xa6082077 | 0xfe0ff07f |
VSM4R.VV | Vector SM4 round function | 1010001-----10000010-----1110111 | 0xa2082077 | 0xfe0ff07f |