CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/10/06 05:10:05
Modified files:
sys/arch/riscv64/riscv64: vector.c
Log message:
riscv64 vector support: actually restore vcsr/vstart
The asm statements used to restore said csr mentioned the value to
restore as an output operand, not an input operand. This hurts as we
write what happens to be in the allocated register (here "a1") to
the csr and then struct vreg.
Issue spotted in build failures due to libgcrypt (mail/notmuch) and to
libjpeg (games/neverball-data). The diff fixes the testsuite for
both ports.
ok jsing@ kettenis@