aboutsummaryrefslogtreecommitdiff
path: root/opcodes-rv32k
blob: a9b240262af2197b6ca2545d44518a9c1f97a12f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#
# This file contains opcode specifications for the RISC-V
# Scalar Cryptographic instruction set extension.
# These instructions appear _only_ in RV32.
# ------------------------------------------------------------

# Scalar AES - RV32
aes32esmi     rt     rs2 bs 11..7=0 29..25=0b11011 14..12=0 6..0=0x33
aes32esi      rt     rs2 bs 11..7=0 29..25=0b11001 14..12=0 6..0=0x33
aes32dsmi     rt     rs2 bs 11..7=0 29..25=0b11111 14..12=0 6..0=0x33
aes32dsi      rt     rs2 bs 11..7=0 29..25=0b11101 14..12=0 6..0=0x33

# Scalar SHA512 - RV32
sha512sum0r   rd rs1 rs2    31..30=1 29..25=0b01000 14..12=0 6..0=0x33
sha512sum1r   rd rs1 rs2    31..30=1 29..25=0b01001 14..12=0 6..0=0x33
sha512sig0l   rd rs1 rs2    31..30=1 29..25=0b01010 14..12=0 6..0=0x33
sha512sig0h   rd rs1 rs2    31..30=1 29..25=0b01110 14..12=0 6..0=0x33
sha512sig1l   rd rs1 rs2    31..30=1 29..25=0b01011 14..12=0 6..0=0x33
sha512sig1h   rd rs1 rs2    31..30=1 29..25=0b01111 14..12=0 6..0=0x33