Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorVictorien Le Couviour--Tuffet <psilokos@twoorioles.com>2020-01-20 12:35:42 +0300
committerVictorien Le Couviour--Tuffet <psilokos@twoorioles.com>2020-01-20 13:18:07 +0300
commit289ca2ceaef841babb7ec3a302e0c7c625a54899 (patch)
treeb1f0c645ee0d5e589525ac793b19c193f9508f25 /src/ext
parent010eae8b2d6ad8713df22de7e7603fb30d4d8ceb (diff)
x86inc: save xmm_regs_used in spill_xmm for non-win64
This allows for AVX-512 code to issue vzeroupper automatically in RET, when not specified in cglobal but later on, along WIN64_SPILL_XMM.
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/x86/x86inc.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ext/x86/x86inc.asm b/src/ext/x86/x86inc.asm
index 875f43f..a6a8fb7 100644
--- a/src/ext/x86/x86inc.asm
+++ b/src/ext/x86/x86inc.asm
@@ -651,8 +651,10 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
%if WIN64 == 0
%macro WIN64_SPILL_XMM 1
+ %assign xmm_regs_used %1
%endmacro
%macro WIN64_RESTORE_XMM 0
+ %assign xmm_regs_used 0
%endmacro
%macro WIN64_PUSH_XMM 0
%endmacro