Commit be6d1f96 authored by Martin Vignali's avatar Martin Vignali

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

parent b37196ad
......@@ -104,11 +104,7 @@ SECTION .text
%if cpuflag(ssse3)||cpuflag(avx2)
cglobal bswap32_buf, 3,4,3
mov r3, r1
%if cpuflag(avx2)
vbroadcasti128 m2, [pb_bswap32]
%else
mova m2, [pb_bswap32]
%endif
VBROADCASTI128 m2, [pb_bswap32]
%else
cglobal bswap32_buf, 3,4,5
mov r3, r1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment