aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Marshall <ben-marshall@users.noreply.github.com>2021-02-19 14:06:53 +0000
committerGitHub <noreply@github.com>2021-02-19 14:06:53 +0000
commitf1e31a973d0eef1749bde2406986f12ea4501b5a (patch)
tree39af3d08fb967cb86bca6bcf4bc5481f9eaed855
parent9b802ad797cab9584c1fbdeeb9866eae92fa07e3 (diff)
downloadriscv-opcodes-f1e31a973d0eef1749bde2406986f12ea4501b5a.zip
riscv-opcodes-f1e31a973d0eef1749bde2406986f12ea4501b5a.tar.gz
riscv-opcodes-f1e31a973d0eef1749bde2406986f12ea4501b5a.tar.bz2
scalar-crypto: Apply suggestions from code review
Co-authored-by: Megan Wachs <megan@sifive.com>
-rw-r--r--opcodes-rv32k3
-rw-r--r--opcodes-rv64k3
-rwxr-xr-xparse_opcodes1
3 files changed, 2 insertions, 5 deletions
diff --git a/opcodes-rv32k b/opcodes-rv32k
index 58f4b69..a9b2402 100644
--- a/opcodes-rv32k
+++ b/opcodes-rv32k
@@ -2,7 +2,7 @@
#
# This file contains opcode specifications for the RISC-V
# Scalar Cryptographic instruction set extension.
-# These instructions appear in _only_ RV32.
+# These instructions appear _only_ in RV32.
# ------------------------------------------------------------
# Scalar AES - RV32
@@ -18,4 +18,3 @@ 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
-
diff --git a/opcodes-rv64k b/opcodes-rv64k
index 5fbb2f5..7ad819c 100644
--- a/opcodes-rv64k
+++ b/opcodes-rv64k
@@ -2,7 +2,7 @@
#
# This file contains opcode specifications for the RISC-V
# Scalar Cryptographic instruction set extension.
-# These instructions appear in _only_ RV64.
+# These instructions appear _only_ in RV64.
# ------------------------------------------------------------
# Scalar AES - RV64
@@ -19,4 +19,3 @@ sha512sum0 rd rs1 31..30=0 29..25=0b01000 24..20=0b00100 14..12=1 6..0=0x13
sha512sum1 rd rs1 31..30=0 29..25=0b01000 24..20=0b00101 14..12=1 6..0=0x13
sha512sig0 rd rs1 31..30=0 29..25=0b01000 24..20=0b00110 14..12=1 6..0=0x13
sha512sig1 rd rs1 31..30=0 29..25=0b01000 24..20=0b00111 14..12=1 6..0=0x13
-
diff --git a/parse_opcodes b/parse_opcodes
index 52d069a..0ac33c2 100755
--- a/parse_opcodes
+++ b/parse_opcodes
@@ -346,7 +346,6 @@ csrs = [
(0xF13, 'mimpid'),
(0xF14, 'mhartid'),
(0xF15, 'mentropy'), # crypto ext
-
(0x7A9, 'mnoise'),
]