diff mbox series

[FFmpeg-devel] lavc/sbrdsp: fold immediate offset into relocation

Message ID 20240525174929.92195-1-remi@remlab.net
State Accepted
Commit b248d7c3198ec7c3d097c8a8603067879f78aced
Headers show
Series [FFmpeg-devel] lavc/sbrdsp: fold immediate offset into relocation | expand

Checks

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

Commit Message

Rémi Denis-Courmont May 25, 2024, 5:49 p.m. UTC
This results in AUIPC; ADDI instead of AUIPC; ADDI; ... ADDI.
---
 libavcodec/riscv/sbrdsp_rvv.S | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/riscv/sbrdsp_rvv.S b/libavcodec/riscv/sbrdsp_rvv.S
index aba9a28108..331b88022c 100644
--- a/libavcodec/riscv/sbrdsp_rvv.S
+++ b/libavcodec/riscv/sbrdsp_rvv.S
@@ -228,9 +228,8 @@  func ff_sbr_hf_g_filt_rvv, zve32f
 endfunc
 
 .macro hf_apply_noise n
-        lla     a6, ff_sbr_noise_table
+        lla     a6, ff_sbr_noise_table + 8
         fmv.s.x ft0, zero
-        addi    a6, a6, 8
 1:
 .if \n & 1
         min     t0, t0, a5 // preserve parity of t0 for v4 sign injector