]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Imply zicsr for sdtrig and ssstrict extensions.
authorDongyan Chen <chendongyan@isrc.iscas.ac.cn>
Tue, 16 Sep 2025 03:49:15 +0000 (21:49 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 16 Sep 2025 03:49:15 +0000 (21:49 -0600)
commit3e932d6384c9bc415255a5d2453e7ddf2c4792f2
tree262d80c981c233f657cc06458897a587829bcee4
parent89a7d765ecabd47ee609ca0a3bfbd14ff27abc77
RISC-V: Imply zicsr for sdtrig and ssstrict extensions.

This patch implies zicsr for sdtrig and ssstrict extensions.
According to the riscv-privileged spec, the sdtrig and ssstrict extensions
are privileged extensions, so they should imply zicsr.

gcc/ChangeLog:

* config/riscv/riscv-ext.def: Imply zicsr.
gcc/config/riscv/riscv-ext.def