From f1e31a973d0eef1749bde2406986f12ea4501b5a Mon Sep 17 00:00:00 2001 From: Ben Marshall Date: Fri, 19 Feb 2021 14:06:53 +0000 Subject: scalar-crypto: Apply suggestions from code review Co-authored-by: Megan Wachs --- opcodes-rv32k | 3 +-- opcodes-rv64k | 3 +-- parse_opcodes | 1 - 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'), ] -- cgit v1.1