xmm6-xmm15 must also be preserved by the callee; Win64 should fully work now

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@179 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC 2010-04-23 15:41:34 +00:00
Родитель d3e320fee7
Коммит b6f097f729
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -313,9 +313,17 @@ const_base:
mov r15, [rax+56]
push rsi
push rdi
sub rsp, SIZEOF_XMMWORD
movlpd XMMWORD [rsp], xmm6
sub rsp, SIZEOF_XMMWORD
movlpd XMMWORD [rsp], xmm7
%endmacro
%imacro uncollect_args 0
movlpd xmm7, XMMWORD [rsp]
add rsp, SIZEOF_XMMWORD
movlpd xmm6, XMMWORD [rsp]
add rsp, SIZEOF_XMMWORD
pop rdi
pop rsi
pop r15