[binutils-gdb] RISC-V: Remove the unimplemented extensions.

Nelson Chu nelsonc1225@sourceware.org
Tue Dec 1 07:33:59 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=27a46348cb409fb2d5064c5686625f5323525c27

commit 27a46348cb409fb2d5064c5686625f5323525c27
Author: Nelson Chu <nelson.chu@sifive.com>
Date:   Fri Nov 20 16:52:35 2020 +0800

    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.

Diff:
---
 opcodes/ChangeLog   |  5 +++++
 opcodes/riscv-opc.c | 11 -----------
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 4f6160d4764..350b37464fc 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+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.
diff --git a/opcodes/riscv-opc.c b/opcodes/riscv-opc.c
index 121f3fee415..7ca44dc5b8c 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},


More information about the Binutils-cvs mailing list