mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
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
This commit is contained in:
parent
bbfcb1b7c8
commit
b37196adff
@ -890,6 +890,14 @@
|
||||
%endif
|
||||
%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
|
||||
%rep 8
|
||||
%if %1>=0x80
|
||||
|
Loading…
Reference in New Issue
Block a user