1
2#
3# This file contains opcode specifications for the RISC-V
4# Scalar Cryptographic instruction set extension.
5# These instructions appear _only_ in RV32.
6# ------------------------------------------------------------
7
8# Scalar AES - RV32
9aes32esmi     rd rs1 rs2 bs          29..25=0b10011 14..12=0 6..0=0x33
10aes32esi      rd rs1 rs2 bs          29..25=0b10001 14..12=0 6..0=0x33
11aes32dsmi     rd rs1 rs2 bs          29..25=0b10111 14..12=0 6..0=0x33
12aes32dsi      rd rs1 rs2 bs          29..25=0b10101 14..12=0 6..0=0x33
13
14# Scalar SHA512 - RV32
15sha512sum0r   rd rs1 rs2    31..30=1 29..25=0b01000 14..12=0 6..0=0x33
16sha512sum1r   rd rs1 rs2    31..30=1 29..25=0b01001 14..12=0 6..0=0x33
17sha512sig0l   rd rs1 rs2    31..30=1 29..25=0b01010 14..12=0 6..0=0x33
18sha512sig0h   rd rs1 rs2    31..30=1 29..25=0b01110 14..12=0 6..0=0x33
19sha512sig1l   rd rs1 rs2    31..30=1 29..25=0b01011 14..12=0 6..0=0x33
20sha512sig1h   rd rs1 rs2    31..30=1 29..25=0b01111 14..12=0 6..0=0x33
21