From 024b260cb94a5f6a9d7362f7b9a1539ffccb49fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 8 Mar 2024 23:39:25 +0200 Subject: [PATCH] arm32: Fix right shifts in the 16bpc iwht implementation These shifts used the wrong element size; this only was noticed in some argon tests. --- src/arm/32/itx16.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/arm/32/itx16.S b/src/arm/32/itx16.S index 928dd386..76912725 100644 --- a/src/arm/32/itx16.S +++ b/src/arm/32/itx16.S @@ -547,11 +547,11 @@ function inv_txfm_add_wht_wht_4x4_16bpc_neon, export=1 vmov.i16 q15, #0 vld1.32 {q8, q9}, [r2, :128] vst1.32 {q14, q15}, [r2, :128]! - vshr.s16 q8, q8, #2 + vshr.s32 q8, q8, #2 vld1.32 {q10, q11}, [r2, :128] - vshr.s16 q9, q9, #2 - vshr.s16 q10, q10, #2 - vshr.s16 q11, q11, #2 + vshr.s32 q9, q9, #2 + vshr.s32 q10, q10, #2 + vshr.s32 q11, q11, #2 iwht4