Message ID | 20231116160451.37296-1-remi@remlab.net |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] checkasm/riscv: use t0 as alternative link register | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/tests/checkasm/riscv/checkasm.S b/tests/checkasm/riscv/checkasm.S index 73ca85f344..b902ab1043 100644 --- a/tests/checkasm/riscv/checkasm.S +++ b/tests/checkasm/riscv/checkasm.S @@ -123,10 +123,10 @@ func checkasm_get_wrapper, v /* Call the tested function */ la.tls.ie t0, checked_func - add t0, tp, t0 - ld t1, (t0) - sd zero, (t0) - jalr t1 + add t1, tp, t0 + ld t0, (t1) + sd zero, (t1) + jalr t0 /* Check special register values */ la.tls.ie t0, saved_regs