aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-02-18 12:09:11 -0300
committerJames Almer <jamrial@gmail.com>2021-02-18 18:47:43 -0300
commitebb48d85a07551ca82965bb66b88e50606683b4d (patch)
tree40c0a1a8c0008c957db276899099ef9e332d9f12 /libswscale
parentd512ebbaedefc977d7628da4dc3ecfe4e52a066a (diff)
downloadffmpeg-ebb48d85a07551ca82965bb66b88e50606683b4d.tar.gz
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 <jamrial@gmail.com>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/x86/yuv2yuvX.asm4
1 files changed, 1 insertions, 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