mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
x86util: Extend SPLATW for avx2
Integration to Libav by Josh de Kock <josh@itanimul.li>. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
This commit is contained in:
parent
37961044c6
commit
fd5e6a095f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user