mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 13:23:59 +02:00
- attempt to see if this win64 asm is more reliable for streflop
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
; be found in the AUTHORS file in the root of the source tree.
|
||||
;
|
||||
|
||||
|
||||
_text SEGMENT
|
||||
; %ifidn __OUTPUT_FORMAT__,x64
|
||||
; %ifdef _WIN64
|
||||
@@ -23,9 +22,15 @@ streflop_winx64_fclex ENDP
|
||||
streflop_winx64_fldcw PROC FRAME
|
||||
|
||||
fclex
|
||||
mov qword ptr [rsp + 8], rcx
|
||||
.ENDPROLOG
|
||||
fldcw [rsp + 8]
|
||||
; mov qword ptr [rsp + 8], rcx
|
||||
; .ENDPROLOG
|
||||
; fldcw [rsp + 8]
|
||||
; ret
|
||||
sub rsp, 8
|
||||
mov [rsp], rcx ; win x64 specific
|
||||
.ENDPROLOG
|
||||
fldcw [rsp]
|
||||
add rsp, 8
|
||||
ret
|
||||
streflop_winx64_fldcw ENDP
|
||||
|
||||
|
Reference in New Issue
Block a user