aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-08-18 12:14:15 +0300
committerMartin Storsjö <martin@martin.st>2022-08-18 12:14:53 +0300
commit48be6616d0536c5b0ff3ee58caee4c024ca64116 (patch)
treec35a142eb4119c7d53fbd0ee32af85e99ea4427d
parent70efa4d01188b61efc0b82e7241a59a32c7e2e22 (diff)
downloadffmpeg-48be6616d0536c5b0ff3ee58caee4c024ca64116.tar.gz
aarch64: me_cmp: Remove a leftover unnecessary instruction
This was missed in a2e45ad407c526cd5ce2f3a361fb98084228cd6e. Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavcodec/aarch64/me_cmp_neon.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/aarch64/me_cmp_neon.S b/libavcodec/aarch64/me_cmp_neon.S
index b89c25438e..4198985c6c 100644
--- a/libavcodec/aarch64/me_cmp_neon.S
+++ b/libavcodec/aarch64/me_cmp_neon.S
@@ -328,7 +328,6 @@ function ff_pix_abs16_y2_neon, export=1
// initialize buffers
movi v29.8h, #0 // clear the accumulator
movi v28.8h, #0 // clear the accumulator
- movi d18, #0
add x5, x2, x3 // pix2 + stride
cmp w4, #4
b.lt 2f
@@ -386,9 +385,8 @@ function ff_pix_abs16_y2_neon, export=1
3:
add v29.8h, v29.8h, v28.8h // Add vectors together
uaddlv s16, v29.8h // Add up vector values
- add d18, d18, d16
- fmov w0, s18
+ fmov w0, s16
ret
endfunc