[binutils-gdb] RISC-V: Add support for svvptc extension.
Nelson Chu
nelsonc1225@sourceware.org
Tue Jun 10 03:47:26 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e0098422ba4f5dc87f8516882af08afb9b1e883d
commit e0098422ba4f5dc87f8516882af08afb9b1e883d
Author: Dongyan Chen <chendongyan@isrc.iscas.ac.cn>
Date: Thu May 22 15:00:07 2025 +0800
RISC-V: Add support for svvptc extension.
This implements the svvptc extensons, version 1.0[1].
[1] https://github.com/riscv/riscv-svvptc
bfd/ChangeLog:
* elfxx-riscv.c: New extension.
gas/ChangeLog:
* NEWS: Updated.
* testsuite/gas/riscv/march-help.l: Ditto.
Diff:
---
bfd/elfxx-riscv.c | 1 +
gas/NEWS | 2 +-
gas/testsuite/gas/riscv/march-help.l | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index 085a6ebffa4..3e5d01c3e9b 100644
--- a/bfd/elfxx-riscv.c
+++ b/bfd/elfxx-riscv.c
@@ -1557,6 +1557,7 @@ static struct riscv_supported_ext riscv_supported_std_s_ext[] =
{"svinval", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
{"svnapot", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
{"svpbmt", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
+ {"svvptc", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
{"ssqosid", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
{"ssnpm", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
{"smnpm", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 },
diff --git a/gas/NEWS b/gas/NEWS
index 6febdc26300..09bea9d40ce 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -12,7 +12,7 @@
* Add support for RISC-V standard extensions:
ssqosid v1.0, ssnpm v1.0, smnpm v1.0, smmpm v1.0, sspm v1.0, supm v1.0,
- sha v1.0, zce v1.0, smcdeleg v1.0, ssccfg v1.0.
+ sha v1.0, zce v1.0, smcdeleg v1.0, ssccfg v1.0, svvptc v1.0.
* Add support for RISC-V vendor extensions:
T-Head: xtheadvdot v1.0.
diff --git a/gas/testsuite/gas/riscv/march-help.l b/gas/testsuite/gas/riscv/march-help.l
index b4908e5885f..709ccff2b7f 100644
--- a/gas/testsuite/gas/riscv/march-help.l
+++ b/gas/testsuite/gas/riscv/march-help.l
@@ -145,6 +145,7 @@ All available -march extensions for RISC-V:
svinval 1.0
svnapot 1.0
svpbmt 1.0
+ svvptc 1.0
ssqosid 1.0
ssnpm 1.0
smnpm 1.0
More information about the Binutils-cvs
mailing list