avcodec/x86/bswapdsp : use macro for 128 bits constants loading in xmm or ymm

This commit is contained in:
Martin Vignali 2017-12-02 18:22:32 +01:00
parent b37196adff
commit be6d1f9632
1 changed files with 1 additions and 5 deletions

View File

@ -104,11 +104,7 @@ SECTION .text
%if cpuflag(ssse3)||cpuflag(avx2) %if cpuflag(ssse3)||cpuflag(avx2)
cglobal bswap32_buf, 3,4,3 cglobal bswap32_buf, 3,4,3
mov r3, r1 mov r3, r1
%if cpuflag(avx2) VBROADCASTI128 m2, [pb_bswap32]
vbroadcasti128 m2, [pb_bswap32]
%else
mova m2, [pb_bswap32]
%endif
%else %else
cglobal bswap32_buf, 3,4,5 cglobal bswap32_buf, 3,4,5
mov r3, r1 mov r3, r1