- attempt to bugfix win64 stability

This commit is contained in:
SoftCoder
2014-02-05 11:29:21 -08:00
parent e42b802b81
commit d2f321a2df

View File

@@ -25,7 +25,7 @@ streflop_winx64_fldcw PROC FRAME
fclex fclex
mov qword ptr [rsp + 8], rcx mov qword ptr [rsp + 8], rcx
.ENDPROLOG .ENDPROLOG
ldmxcsr [rsp + 8] fldcw [rsp + 8]
ret ret
streflop_winx64_fldcw ENDP streflop_winx64_fldcw ENDP
@@ -33,7 +33,7 @@ streflop_winx64_fstcw PROC FRAME
sub rsp, 8 sub rsp, 8
.ENDPROLOG .ENDPROLOG
stmxcsr [rsp] fstcw [rsp]
mov rax, [rsp] mov rax, [rsp]
add rsp, 8 add rsp, 8
ret ret