aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNelson Chu <nelson.chu@sifive.com>2020-11-20 16:52:35 +0800
committerNelson Chu <nelson.chu@sifive.com>2020-12-01 15:13:06 +0800
commit27a46348cb409fb2d5064c5686625f5323525c27 (patch)
tree5f2a425e5ab9510953d014ae1a62061760a16c84
parent5a1b31e1e1cee6e9f1c92abff59cdcfff0dddf30 (diff)
downloadfsf-binutils-gdb-27a46348cb409fb2d5064c5686625f5323525c27.zip
fsf-binutils-gdb-27a46348cb409fb2d5064c5686625f5323525c27.tar.gz
fsf-binutils-gdb-27a46348cb409fb2d5064c5686625f5323525c27.tar.bz2
RISC-V: Remove the unimplemented extensions.
Although spec had defined and ratified p, v and n extensions, but we don't have any related implementaitons so far, so keep them in the supported extension table looks weird. Remove them until we have the related implementations. opcodes/ * riscv-opc.c (riscv_ext_version_table): Remove the p, v, n and their versions.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/riscv-opc.c11
2 files changed, 5 insertions, 11 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 4f6160d..350b374 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,10 @@
2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+ * riscv-opc.c (riscv_ext_version_table): Remove the p, v, n
+ and their versions.
+
+2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+
* riscv-opc.c (riscv_ext_version_table): Add zifencei.
2020-11-28 Borislav Petkov <bp@suse.de>
diff --git a/opcodes/riscv-opc.c b/opcodes/riscv-opc.c
index 121f3fe..7ca44dc 100644
--- a/opcodes/riscv-opc.c
+++ b/opcodes/riscv-opc.c
@@ -921,17 +921,6 @@ const struct riscv_ext_version riscv_ext_version_table[] =
{"c", ISA_SPEC_CLASS_20190608, 2, 0},
{"c", ISA_SPEC_CLASS_2P2, 2, 0},
-{"p", ISA_SPEC_CLASS_20191213, 0, 2},
-{"p", ISA_SPEC_CLASS_20190608, 0, 2},
-{"p", ISA_SPEC_CLASS_2P2, 0, 1},
-
-{"v", ISA_SPEC_CLASS_20191213, 0, 7},
-{"v", ISA_SPEC_CLASS_20190608, 0, 7},
-{"v", ISA_SPEC_CLASS_2P2, 0, 7},
-
-{"n", ISA_SPEC_CLASS_20190608, 1, 1},
-{"n", ISA_SPEC_CLASS_2P2, 1, 1},
-
{"zicsr", ISA_SPEC_CLASS_20191213, 2, 0},
{"zicsr", ISA_SPEC_CLASS_20190608, 2, 0},