Fix Win64 ABI conformance issue in AVX2 ISLOW IDCT

xmm8-xmm11 must be saved and restored, since the function uses
ymm8-ymm11.

Closes #211
This commit is contained in:
mayeut
2018-02-24 12:07:34 +01:00
committed by DRC
parent feaec37d32
commit 4c4dc6149b

View File

@@ -286,6 +286,7 @@ EXTN(jsimd_idct_islow_avx2):
push rbp
mov rax, rsp ; rax = original rbp
mov rbp, rsp ; rbp = aligned rbp
push_xmm 4
collect_args 4
; ---- Pass 1: process columns.
@@ -409,6 +410,7 @@ EXTN(jsimd_idct_islow_avx2):
movq XMM_MMWORD [rsi+rax*SIZEOF_JSAMPLE], xmm7
uncollect_args 4
pop_xmm 4
pop rbp
ret