Commit fd5e6a09 authored by James Almer's avatar James Almer Committed by Luca Barbato

x86util: Extend SPLATW for avx2

Integration to Libav by Josh de Kock <josh@itanimul.li>.
Signed-off-by: 's avatarAlexandra Hájková <alexandra@khirnov.net>
parent 37961044
......@@ -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)
......
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