]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH] RISC-V: Imply zicsr for svade and svadu extensions.
authorDongyan Chen <chendongyan@isrc.iscas.ac.cn>
Wed, 4 Jun 2025 14:03:31 +0000 (08:03 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Wed, 4 Jun 2025 14:03:31 +0000 (08:03 -0600)
commit28106a0c5d18173832d8013dccbb6fcc71646868
treee699a22e82dd413a29d060dc97864147687eea65
parent07e3ed74a2b648c0ce8e823bbf5bd8f23383efa1
[PATCH] RISC-V: Imply zicsr for svade and svadu extensions.

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

gcc/ChangeLog:

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