diff options
author | Martin Storsjö <martin@martin.st> | 2024-03-08 23:39:25 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2024-03-08 21:49:57 +0000 |
commit | 024b260cb94a5f6a9d7362f7b9a1539ffccb49fc (patch) | |
tree | a49755ec4546d35e7b124c11988586c82500b35b | |
parent | 0fff614a4cc6d949fa66a324c342517c86e8029e (diff) | |
download | libdav1d-024b260cb94a5f6a9d7362f7b9a1539ffccb49fc.tar.gz |
arm32: Fix right shifts in the 16bpc iwht implementation
These shifts used the wrong element size; this only was noticed in
some argon tests.
-rw-r--r-- | src/arm/32/itx16.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arm/32/itx16.S b/src/arm/32/itx16.S index 928dd38..7691272 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 |