Skip to content

Commit

Permalink
- attempt streflop bugfix for win64
Browse files Browse the repository at this point in the history
  • Loading branch information
softcoder committed Nov 29, 2015
1 parent 7e0494b commit 9fc7b9f
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions source/shared_lib/sources/streflop/FPUSettings.asm
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,24 @@ streflop_winx64_stmxcsr PROC FRAME
streflop_winx64_stmxcsr ENDP

streflop_winx64_ldmxcsr PROC FRAME

sub rsp, 8
.ENDPROLOG
sub rsp, 8
mov [rsp], rax ; win x64 specific
.ENDPROLOG
ldmxcsr [rsp]
mov rax, [rsp]
add rsp, 8
add rsp, 8
ret

; sub rsp, 8
; .ENDPROLOG
; ldmxcsr [rsp]
; mov rax, [rsp]
; add rsp, 8
; ret

; mov qword ptr [rsp + 8], rcx
; .ENDPROLOG
; ldmxcsr [rsp + 8]
; ret
streflop_winx64_ldmxcsr ENDP

;%endif
Expand Down

0 comments on commit 9fc7b9f

Please sign in to comment.