Skip to content
Snippets Groups Projects
Commit fd5e6a09 authored by James Almer's avatar James Almer Committed by Luca Barbato
Browse files

x86util: Extend SPLATW for avx2


Integration to Libav by Josh de Kock <josh@itanimul.li>.

Signed-off-by: default avatarAlexandra Hájková <alexandra@khirnov.net>
parent 37961044
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment