From ebb48d85a07551ca82965bb66b88e50606683b4d Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 18 Feb 2021 12:09:11 -0300 Subject: [PATCH] swscale/x86/yuv2yuvX: use movq to load 8 bytes in all non-AVX2 functions mova expands to movq on non-XMM functions Signed-off-by: James Almer --- libswscale/x86/yuv2yuvX.asm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libswscale/x86/yuv2yuvX.asm b/libswscale/x86/yuv2yuvX.asm index a6b70d5247..062028471a 100644 --- a/libswscale/x86/yuv2yuvX.asm +++ b/libswscale/x86/yuv2yuvX.asm @@ -47,10 +47,8 @@ cglobal yuv2yuvX, 7, 7, 8, filter, filterSize, src, dest, dstW, dither, offset %endif ; x86-64 %if cpuflag(avx2) vpbroadcastq m3, [ditherq] -%elif cpuflag(sse3) - movq xmm3, [ditherq] %else - mova m3, [ditherq] + movq xm3, [ditherq] %endif ; avx2 cmp offsetd, 0 jz .offset