diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2017-12-02 18:22:32 +0100 |
---|---|---|
committer | Martin Vignali <martin.vignali@gmail.com> | 2017-12-02 18:25:25 +0100 |
commit | be6d1f9632e24f1b74d83ad8896ee9d0da72854c (patch) | |
tree | 44ed51c2913c86d5b580344961a06451934c8fcf /libavcodec/x86/bswapdsp.asm | |
parent | b37196adff750b49cdf2d2739deb069cfcbfd4eb (diff) | |
download | ffmpeg-be6d1f9632e24f1b74d83ad8896ee9d0da72854c.tar.gz |
avcodec/x86/bswapdsp : use macro for 128 bits constants loading in xmm or ymm
Diffstat (limited to 'libavcodec/x86/bswapdsp.asm')
-rw-r--r-- | libavcodec/x86/bswapdsp.asm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/x86/bswapdsp.asm b/libavcodec/x86/bswapdsp.asm index 213ffbde07..31c6c48a21 100644 --- a/libavcodec/x86/bswapdsp.asm +++ b/libavcodec/x86/bswapdsp.asm @@ -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 |