[Bug target/110665] RISC-V do not preserve vector registers in interrupt handler

2023-10-24 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110665 Lehua Ding changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/110665] RISC-V do not preserve vector registers in interrupt handler

2023-09-14 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110665 --- Comment #3 from Lehua Ding --- Fixed by the commit https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=fdd59c0f73e9e681cd5f4d0eee2dd58d60d8dbe1 with compiler option --param=riscv-vector-abi. Confirmed after support riscv-vector-abi in default.

[Bug target/110665] RISC-V do not preserve vector registers in interrupt handler

2023-07-14 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110665 --- Comment #2 from Lehua Ding --- I just found the relevant specification and the specification seems to require that the vector registers used be saved. > The interrupt attribute specifies that a function is an interrupt handler. > The compil

[Bug target/110665] RISC-V do not preserve vector registers in interrupt handler

2023-07-14 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110665 --- Comment #1 from Lehua Ding --- If it's a problem, I'm willing to fix it.