[FFmpeg-cvslog] libavcodec/x86/vvc/vvc_sad: fix assembler error

Haihao Xiang git at videolan.org
Thu May 23 15:13:40 EEST 2024


ffmpeg | branch: master | Haihao Xiang <haihao.xiang at intel.com> | Thu May 23 14:51:36 2024 +0800| [8155808ce6030a6aed3201cf426a256776a36392] | committer: James Almer

libavcodec/x86/vvc/vvc_sad: fix assembler error

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>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8155808ce6030a6aed3201cf426a256776a36392
---

 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



More information about the ffmpeg-cvslog mailing list