This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 68f3c1735e82486627095be9e7383fe27ab30bf0 Author: Rémi Denis-Courmont <[email protected]> AuthorDate: Mon Dec 22 22:47:46 2025 +0200 Commit: Rémi Denis-Courmont <[email protected]> CommitDate: Sat Jan 10 17:20:07 2026 +0200 checkasm/riscv: restore stack before failure reporting The faiure handling code is C and requires correct stack, global and thread pointers. This restores them before returning to C. At the same time, we no longer need to abort() afterwards. --- tests/checkasm/riscv/checkasm.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/checkasm/riscv/checkasm.S b/tests/checkasm/riscv/checkasm.S index 5283596575..adbf0c0b10 100644 --- a/tests/checkasm/riscv/checkasm.S +++ b/tests/checkasm/riscv/checkasm.S @@ -155,9 +155,13 @@ func checkasm_get_wrapper, v ret 5: + # checkasm_fail_func() needs valid SP, GP and TP. Restore them. + ld sp, 8(t0) + ld gp, 16(t0) + ld tp, 24(t0) lla a0, fail_rsvd_reg call checkasm_fail_func - tail abort /* The test harness would probably crash anyway */ + j 4b 6: lla a0, fail_s_reg _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
