ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Wed Nov 22 14:18:24 2023 -0300| [2d9fd814d0b017fef1b9d4445174bcd4dc3358dd] | committer: James Almer
x86/: clear the high bits for order in scalarproduct_and_madd functions Should fix checkasm failures on win64. Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d9fd814d0b017fef1b9d4445174bcd4dc3358dd --- libavcodec/x86/lossless_audiodsp.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/x86/lossless_audiodsp.asm b/libavcodec/x86/lossless_audiodsp.asm index ff18eb7081..095f3daf33 100644 --- a/libavcodec/x86/lossless_audiodsp.asm +++ b/libavcodec/x86/lossless_audiodsp.asm @@ -26,7 +26,7 @@ SECTION .text ; int order, int mul) INIT_XMM sse2 cglobal scalarproduct_and_madd_int16, 4,4,8, v1, v2, v3, order, mul - shl orderq, 1 + shl orderd, 1 movd m7, mulm pshuflw m7, m7, 0 punpcklqdq m7, m7 @@ -62,7 +62,7 @@ INIT_XMM sse4 ; int ff_scalarproduct_and_madd_int32(int16_t *v1, int32_t *v2, int16_t *v3, ; int order, int mul) cglobal scalarproduct_and_madd_int32, 4,4,8, v1, v2, v3, order, mul - shl orderq, 1 + shl orderd, 1 movd m7, mulm SPLATW m7, m7 pxor m6, m6 @@ -140,7 +140,7 @@ align 16 ; int order, int mul) INIT_XMM ssse3 cglobal scalarproduct_and_madd_int16, 4,5,10, v1, v2, v3, order, mul - shl orderq, 1 + shl orderd, 1 movd m7, mulm pshuflw m7, m7, 0 punpcklqdq m7, m7 _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".