Re: [PATCH] RISC-V: Imply zicsr for svade and svadu extensions.

2025-06-04 Thread Jeff Law
On 5/29/25 7:24 AM, Dongyan Chen wrote: 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.

[PATCH] RISC-V: Imply zicsr for svade and svadu extensions.

2025-05-29 Thread Dongyan Chen
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 | 4 ++--