Browse Source

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>
tags/n4.4
James Almer 5 years ago
parent
commit
ebb48d85a0
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libswscale/x86/yuv2yuvX.asm

+ 1
- 3
libswscale/x86/yuv2yuvX.asm View File

@@ -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


Loading…
Cancel
Save