From 48be6616d0536c5b0ff3ee58caee4c024ca64116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 18 Aug 2022 12:14:15 +0300 Subject: [PATCH] aarch64: me_cmp: Remove a leftover unnecessary instruction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was missed in a2e45ad407c526cd5ce2f3a361fb98084228cd6e. Signed-off-by: Martin Storsjö --- libavcodec/aarch64/me_cmp_neon.S | 4 +--- 1 file changed, 1 insertion(+), 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