Module: libav Branch: master Commit: fd5e6a095f69495c558069315d6b36ea410c31fa
Author: James Almer <[email protected]> Committer: Luca Barbato <[email protected]> Date: Tue Jun 28 13:22:40 2016 +0200 x86util: Extend SPLATW for avx2 Integration to Libav by Josh de Kock <[email protected]>. Signed-off-by: Alexandra Hájková <[email protected]> --- libavutil/x86/x86util.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index 9f64dd1..16a9bae 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -552,7 +552,9 @@ %endmacro %macro SPLATW 2-3 0 -%if mmsize == 16 +%if cpuflag(avx2) && %3 == 0 + vpbroadcastw %1, %2 +%elif mmsize == 16 pshuflw %1, %2, (%3)*0x55 punpcklqdq %1, %1 %elif cpuflag(mmxext) _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
