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@intel.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Haihao Xiang 2024-05-23 14:51:36 +08:00 committed by James Almer
parent ece95dc3dc
commit 8155808ce6
1 changed files with 2 additions and 2 deletions

View File

@ -82,9 +82,9 @@ cglobal vvc_sad, 6, 9, 5, src1, src2, dx, dy, block_w, block_h, off1, off2, row_
vvc_sad_8: vvc_sad_8:
.loop_height: .loop_height:
movu xm0, [src1q] 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] 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 MIN_MAX_SAD m1, m0, m2
pmaddwd m1, m4 pmaddwd m1, m4