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

Specification

Open Zvks in the explorer

Dependencies

Requires

Required by

Instructions (14)

MnemonicNameEncodingMatchMask
VANDN.VVVector AND-NOT000001-----------000-----10101110x40000570xfc00707f
VANDN.VXVector AND-NOT with scalar000001-----------100-----10101110x40040570xfc00707f
VBREV8.VVector byte reverse within elements010010------01000010-----10101110x480420570xfc0ff07f
VREV8.VVector byte reverse010010------01001010-----10101110x4804a0570xfc0ff07f
VROL.VVVector rotate left by vector010101-----------000-----10101110x540000570xfc00707f
VROL.VXVector rotate left by scalar010101-----------100-----10101110x540040570xfc00707f
VROR.VIVector rotate right by immediate01010------------011-----10101110x500030570xf800707f
VROR.VVVector rotate right by vector010100-----------000-----10101110x500000570xfc00707f
VROR.VXVector rotate right by scalar010100-----------100-----10101110x500040570xfc00707f
VSM3C.VIVector SM3 compression with immediate1010111----------010-----11101110xae0020770xfe00707f
VSM3ME.VVVector SM3 message expansion1000001----------010-----11101110x820020770xfe00707f
VSM4K.VIVector SM4 key schedule with immediate1000011----------010-----11101110x860020770xfe00707f
VSM4R.VSVector SM4 round function with scalar1010011-----10000010-----11101110xa60820770xfe0ff07f
VSM4R.VVVector SM4 round function1010001-----10000010-----11101110xa20820770xfe0ff07f