1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

lavc/riscv: explicitly require Zbb for MIN

This commit is contained in:
Rémi Denis-Courmont 2024-05-07 21:08:03 +03:00
parent 89029baebd
commit c07af340ae
3 changed files with 6 additions and 6 deletions

View File

@ -207,7 +207,7 @@ func ff_ps_hybrid_synthesis_deint_rvv, zve64x
ret
endfunc
func ff_ps_stereo_interpolate_rvv, zve32f
func ff_ps_stereo_interpolate_rvv, zve32f, zbb
vsetvli t0, zero, e32, m2, ta, ma
vid.v v24
flw ft0, (a2)

View File

@ -20,7 +20,7 @@
#include "libavutil/riscv/asm.S"
func ff_opus_postfilter_rvv, zve32f
func ff_opus_postfilter_rvv, zve32f, zbb
flw fa0, 0(a2) // g0
slli t1, a1, 2
flw fa1, 4(a2) // g1

View File

@ -290,16 +290,16 @@ endfunc
ret
.endm
func ff_sbr_hf_apply_noise_0_rvv, zve32f
func ff_sbr_hf_apply_noise_0_rvv, zve32f, zbb
hf_apply_noise 0
endfunc
func ff_sbr_hf_apply_noise_3_rvv, zve32f
func ff_sbr_hf_apply_noise_3_rvv, zve32f, zbb
not a4, a4 // invert parity of kx
// fall through
endfunc
func ff_sbr_hf_apply_noise_1_rvv, zve32f
func ff_sbr_hf_apply_noise_1_rvv, zve32f, zbb
vsetvli t0, zero, e32, m4, ta, ma
vid.v v4
vxor.vx v4, v4, a4
@ -307,6 +307,6 @@ func ff_sbr_hf_apply_noise_1_rvv, zve32f
hf_apply_noise 1
endfunc
func ff_sbr_hf_apply_noise_2_rvv, zve32f
func ff_sbr_hf_apply_noise_2_rvv, zve32f, zbb
hf_apply_noise 2
endfunc