From: Dongyan Chen Date: Thu, 22 May 2025 07:00:07 +0000 (+0800) Subject: RISC-V: Add support for svvptc extension. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0098422ba4f5dc87f8516882af08afb9b1e883d;p=thirdparty%2Fbinutils-gdb.git 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 --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