[FFmpeg-devel] [PATCH] libavcodec/x86/vvc/vvc_sad: fix assembler error
Xiang, Haihao
haihao.xiang at intel.com
Thu May 23 09:51:36 EEST 2024
From: Haihao Xiang <haihao.xiang at intel.com>
X86ASM libavcodec/x86/vvc/vvc_sad.o
libavcodec/x86/vvc/vvc_sad.asm:85: error: invalid number of operands
libavcodec/x86/vvc/vvc_sad.asm:87: error: invalid number of operands
Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
---
libavcodec/x86/vvc/vvc_sad.asm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/x86/vvc/vvc_sad.asm b/libavcodec/x86/vvc/vvc_sad.asm
index 13224583a5..b468d89ac2 100644
--- a/libavcodec/x86/vvc/vvc_sad.asm
+++ b/libavcodec/x86/vvc/vvc_sad.asm
@@ -82,9 +82,9 @@ cglobal vvc_sad, 6, 9, 5, src1, src2, dx, dy, block_w, block_h, off1, off2, row_
vvc_sad_8:
.loop_height:
movu xm0, [src1q]
- vinserti128 m0, [src1q + MAX_PB_SIZE * ROWS * 2], 1
+ vinserti128 m0, m0, [src1q + MAX_PB_SIZE * ROWS * 2], 1
movu xm1, [src2q]
- vinserti128 m1, [src2q + MAX_PB_SIZE * ROWS * 2], 1
+ vinserti128 m1, m1, [src2q + MAX_PB_SIZE * ROWS * 2], 1
MIN_MAX_SAD m1, m0, m2
pmaddwd m1, m4
--
2.34.1
More information about the ffmpeg-devel
mailing list