mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/x86/bswapdsp : use macro for 128 bits constants loading in xmm or ymm
This commit is contained in:
parent
b37196adff
commit
be6d1f9632
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue