VAESDM.VV
Vector AES Decryption Middle Round
VAESDM.VV vd, vs2
Performs a middle AES decryption round.
Encoding
Binary Layout
1010001
31:25
vs2
24:20
00000010
19:12
vd
11:7
1110111
6:0
Operands
-
vd
Round state (input) and result (output) -
vs2
Round key
Example
VAESDM.VV v1, v4
Related
More in Zvkned
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Performs one middle-round AES decryption (InvShiftRows and InvSubBytes, XOR with the round key, then InvMixColumns) on each element group. Operates on each 128-bit element group (EGW=128, SEW=32). The round state comes from vd and the round key from vs2 (.vv) or from the first element group of vs2 (.vs); the result is written to vd.
Operation
vd = AES_Decrypt_Middle(vd, vs2);