[FFmpeg-devel] [PATCH] checkasm/riscv: use t0 as alternative link register

2023-11-16 Thread Rémi Denis-Courmont
The unprivileged ISA specification says that either RA or T0 should be used for this purpose. Other registers may confuse the return address prediction stack. --- tests/checkasm/riscv/checkasm.S | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/checkasm/riscv/checka

Re: [FFmpeg-devel] [PATCH] checkasm/riscv: use t0 as alternative link register

2023-11-16 Thread Rémi Denis-Courmont
Le torstaina 16. marraskuuta 2023, 18.04.51 EET Rémi Denis-Courmont a écrit : > The unprivileged ISA specification says that either RA or T0 should be > used for this purpose. Other registers may confuse the return address > prediction stack. Need more sleep. This is true for the link register (th