]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH] RISC-V: Add smcntrpmf extension.
authorDongyan Chen <chendongyan@isrc.iscas.ac.cn>
Mon, 2 Jun 2025 19:30:29 +0000 (13:30 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Mon, 2 Jun 2025 19:30:29 +0000 (13:30 -0600)
commit7f1ee85470780ffd0542819c53fb7f7f3d05c9a4
treed1d05d8e47775b7fd16e4d48424f4ccb5ee08c45
parent49f421a31f63405d3ca466e144d010c550206e72
[PATCH] RISC-V: Add smcntrpmf extension.

This patch support smcntrpmf extension[1].
To enable GCC to recognize and process smcntrpmf extension correctly at compile time.

[1]https://github.com/riscvarchive/riscv-smcntrpmf

gcc/ChangeLog:

* config/riscv/riscv-ext.def: New extension defs.
* config/riscv/riscv-ext.opt: Ditto.
* doc/riscv-ext.texi: Ditto.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/arch-59.c: New test.
gcc/config/riscv/riscv-ext.def
gcc/config/riscv/riscv-ext.opt
gcc/doc/riscv-ext.texi
gcc/testsuite/gcc.target/riscv/arch-59.c [new file with mode: 0644]