提交 b37196ad 编写于 作者: M Martin Vignali

avutil/x86util : add macro for loading a 128 bits constants in an xmm or in...

avutil/x86util : add macro for loading a 128 bits constants in an xmm or in each part of an ymm in order to simplify avx2 asm func
上级 bbfcb1b7
...@@ -890,6 +890,14 @@ ...@@ -890,6 +890,14 @@
%endif %endif
%endmacro %endmacro
%macro VBROADCASTI128 2 ; dst xmm/ymm, src : 128bits val
%if mmsize > 16
vbroadcasti128 %1, %2
%else
mova %1, %2
%endif
%endmacro
%macro SHUFFLE_MASK_W 8 %macro SHUFFLE_MASK_W 8
%rep 8 %rep 8
%if %1>=0x80 %if %1>=0x80
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册