mirror of https://code.videolan.org/videolan/x264
x86inc: Add an option for forcing VEX-encoding in non-AVX functions
This commit is contained in:
parent
e73fc2301e
commit
8b2721d277
|
@ -86,6 +86,11 @@
|
|||
%define mangle(x) x
|
||||
%endif
|
||||
|
||||
; Use VEX-encoding even in non-AVX functions
|
||||
%ifndef FORCE_VEX_ENCODING
|
||||
%define FORCE_VEX_ENCODING 0
|
||||
%endif
|
||||
|
||||
%macro SECTION_RODATA 0-1 16
|
||||
%ifidn __OUTPUT_FORMAT__,win32
|
||||
SECTION .rdata align=%1
|
||||
|
@ -1014,7 +1019,7 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae,
|
|||
%endmacro
|
||||
|
||||
%macro INIT_XMM 0-1+
|
||||
%assign avx_enabled 0
|
||||
%assign avx_enabled FORCE_VEX_ENCODING
|
||||
%define RESET_MM_PERMUTATION INIT_XMM %1
|
||||
%define mmsize 16
|
||||
%define mova movdqa
|
||||
|
|
Loading…
Reference in New Issue