xmm6-xmm15 must also be preserved by the callee; Win64 should fully work now
This commit is contained in:
@@ -313,9 +313,17 @@ const_base:
|
|||||||
mov r15, [rax+56]
|
mov r15, [rax+56]
|
||||||
push rsi
|
push rsi
|
||||||
push rdi
|
push rdi
|
||||||
|
sub rsp, SIZEOF_XMMWORD
|
||||||
|
movlpd XMMWORD [rsp], xmm6
|
||||||
|
sub rsp, SIZEOF_XMMWORD
|
||||||
|
movlpd XMMWORD [rsp], xmm7
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
%imacro uncollect_args 0
|
%imacro uncollect_args 0
|
||||||
|
movlpd xmm7, XMMWORD [rsp]
|
||||||
|
add rsp, SIZEOF_XMMWORD
|
||||||
|
movlpd xmm6, XMMWORD [rsp]
|
||||||
|
add rsp, SIZEOF_XMMWORD
|
||||||
pop rdi
|
pop rdi
|
||||||
pop rsi
|
pop rsi
|
||||||
pop r15
|
pop r15
|
||||||
|
|||||||
Reference in New Issue
Block a user