mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
arm: hevc_qpel: Fix the assembly to work with non-multiple of 8 widths
This unbreaks the fate-checkasm-hevc_pel test on arm targets. The assembly assumed that the width passed to the DSP functions is a multiple of 8, while the checkasm test used other widths too. This wasn't noticed before, because the hevc_pel checkasm tests (that were added in 9c513edb7999a35ddcc6e3a8d984a96c8fb492a3 in January) weren't run as part of fate until in b492cacffd36ad4cb251ba1f13ac398318ee639a in August. As this hasn't been an issue in practice with actual full decoding tests, it seems like the actual decoder doesn't call these functions with such widths. Therefore, we could alternatively fix the test to only test things that the real decoder does, and this modification could be reverted. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
d48232fb4c
commit
2589060b92
@ -237,7 +237,7 @@
|
||||
vld1.8 {d23}, [r2], r3
|
||||
bne 8b
|
||||
subs r5, #8
|
||||
beq 99f
|
||||
ble 99f
|
||||
mov r4, r12
|
||||
add r6, #16
|
||||
mov r0, r6
|
||||
@ -280,7 +280,7 @@
|
||||
vld1.8 {d23}, [r2], r3
|
||||
bne 8b
|
||||
subs r5, #8
|
||||
beq 99f
|
||||
ble 99f
|
||||
mov r4, r12
|
||||
add r6, #8
|
||||
mov r0, r6
|
||||
@ -310,7 +310,7 @@
|
||||
vld1.8 {d23}, [r2], r3
|
||||
bne 8b
|
||||
subs r5, #8
|
||||
beq 99f
|
||||
ble 99f
|
||||
mov r4, r12
|
||||
add r6, #8
|
||||
mov r0, r6
|
||||
@ -377,7 +377,7 @@ endfunc
|
||||
vst1.16 {q7}, [r0], r1
|
||||
bne 8b
|
||||
subs r5, #8
|
||||
beq 99f
|
||||
ble 99f
|
||||
mov r4, r12
|
||||
add r6, #16
|
||||
mov r0, r6
|
||||
@ -417,7 +417,7 @@ endfunc
|
||||
vst1.8 d0, [r0], r1
|
||||
bne 8b
|
||||
subs r5, #8
|
||||
beq 99f
|
||||
ble 99f
|
||||
mov r4, r12
|
||||
add r6, #8
|
||||
mov r0, r6
|
||||
@ -446,7 +446,7 @@ endfunc
|
||||
vst1.8 d0, [r0], r1
|
||||
bne 8b
|
||||
subs r5, #8
|
||||
beq 99f
|
||||
ble 99f
|
||||
mov r4, r12
|
||||
add r6, #8
|
||||
add r10, #16
|
||||
@ -533,7 +533,7 @@ endfunc
|
||||
\filterh q7
|
||||
bne 8b
|
||||
subs r5, #8
|
||||
beq 99f
|
||||
ble 99f
|
||||
mov r4, r12
|
||||
add r6, #16
|
||||
mov r0, r6
|
||||
@ -594,7 +594,7 @@ endfunc
|
||||
\filterh q7
|
||||
bne 8b
|
||||
subs r5, #8
|
||||
beq 99f
|
||||
ble 99f
|
||||
mov r4, r12
|
||||
add r6, #8
|
||||
mov r0, r6
|
||||
@ -641,7 +641,7 @@ endfunc
|
||||
\filterh q7
|
||||
bne 8b
|
||||
subs r5, #8
|
||||
beq 99f
|
||||
ble 99f
|
||||
mov r4, r12
|
||||
add r6, #8
|
||||
mov r0, r6
|
||||
|
Loading…
x
Reference in New Issue
Block a user