Skip to content

Commit 215341e

Browse files
sudo-abdullahroot
andauthored
Add long_name and description to AES instructions (#615)
* Update aes32dsi.yaml Signed-off-by: M Abdullah <2022ee19@gmail.com> * Update aes32dsmi.yaml Signed-off-by: M Abdullah <2022ee19@gmail.com> * Update aes32dsi.yaml Signed-off-by: M Abdullah <2022ee19@gmail.com> * Updated aes32dsmi.yaml Signed-off-by: M Abdullah <2022ee19@gmail.com> * Update aes32dsi.yaml Signed-off-by: M Abdullah <2022ee19@gmail.com> * Updated aes32dsmi.yaml Signed-off-by: M Abdullah <2022ee19@gmail.com> * Recommitted with pre-commit fix * Recommitted after pre-commit tests --------- Signed-off-by: M Abdullah <2022ee19@gmail.com> Co-authored-by: root <2022e19@gmail.com>
1 parent a4f1498 commit 215341e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

arch/inst/Zk/aes32dsi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
$schema: "inst_schema.json#"
44
kind: instruction
55
name: aes32dsi
6-
long_name: No synopsis available.
6+
long_name: AES final round decryption instruction for RV32
77
description: |
8-
No description available.
8+
This instruction sources a single byte from `rs2` according to `bs`. To this it applies the inverse AES
9+
SBox operation, and XOR's the result with `rs1`. This instruction must always be implemented such
10+
that its execution latency does not depend on the data being operated on.
11+
912
definedBy:
1013
anyOf: [Zk, Zkn, Zknd]
1114
base: 32

arch/inst/Zk/aes32dsmi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
$schema: "inst_schema.json#"
44
kind: instruction
55
name: aes32dsmi
6-
long_name: No synopsis available.
6+
long_name: AES middle round decryption instruction for RV32
77
description: |
8-
No description available.
8+
This instruction sources a single byte from `rs2` according to `bs`. To this it applies the inverse AES
9+
SBox operation, and a partial inverse MixColumn, before XOR'ing the result with `rs1`. This
10+
instruction must always be implemented such that its execution latency does not depend on the
11+
data being operated on.
912
definedBy:
1013
anyOf: [Zk, Zkn, Zknd]
1114
base: 32

0 commit comments

Comments
 (0)