15587Fermer15589
bearbecueLe 29/03/2011 à 12:18
jz _SkipRetValStore

_StoreRetValRAX:
mov [r9], eax ; FIXME: rax ?
jmp _SkipRetValStore

_StoreRetValFp:
movss dword ptr [r9], xmm0

_SkipRetValStore:
; it would be simpler to readjust rsp right after the call, but we need to do this here right before the 'ret' for stack unwinding to work correctly
add rsp, r12 ; restore stack pointer as it was before arg passing
pop r12
pop rdi
ret