aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-12-02 18:22:32 +0100
committerMartin Vignali <martin.vignali@gmail.com>2017-12-02 18:25:25 +0100
commitbe6d1f9632e24f1b74d83ad8896ee9d0da72854c (patch)
tree44ed51c2913c86d5b580344961a06451934c8fcf /libavcodec
parentb37196adff750b49cdf2d2739deb069cfcbfd4eb (diff)
downloadffmpeg-be6d1f9632e24f1b74d83ad8896ee9d0da72854c.tar.gz
avcodec/x86/bswapdsp : use macro for 128 bits constants loading in xmm or ymm
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/bswapdsp.asm6
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