On 5/27/25 1:32 AM, Jiawei wrote:
This patch add the RISC-V Shlcofideleg extension. It supports delegating
LCOFI interrupts(the count-overflow interrupts) to VS-mode.[1]
[1] https://riscv.github.io/riscv-isa-manual/snapshot/privileged
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-57.c: New test.
This is OK, though the test name needs adjustment. And there's a typo:
+ /* UPPERCAE_NAME */ SHLCOFIDELEG,
Should be UPPERCASE_NAME. Feel free to fix any other instances of that
typo that have crept in. Consider the typo fix pre-approved, no need to
wait for an ACK.
Thanks,
Jeff