]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
RISC-V: Add support for svvptc extension.
authorDongyan Chen <chendongyan@isrc.iscas.ac.cn>
Thu, 22 May 2025 07:00:07 +0000 (15:00 +0800)
committerNelson Chu <nelson@rivosinc.com>
Tue, 10 Jun 2025 03:40:24 +0000 (11:40 +0800)
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.

bfd/elfxx-riscv.c
gas/NEWS
gas/testsuite/gas/riscv/march-help.l

index 085a6ebffa407766571bc378cf6b6e7db4a9efef..3e5d01c3e9b99f6bf4fab3243f5e0c8922fadd73 100644 (file)
@@ -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 },
index 6febdc26300723845f6587da7be0384a95cf36de..09bea9d40cec58a5dfe61a7978cb6457ef5f1b10 100644 (file)
--- 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.
index b4908e5885f337741eea2fdfc1fbbfaee547623b..709ccff2b7fbf25db8c3ac717e4368b5724291c3 100644 (file)
@@ -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