mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
25 lines
292 B
ArmAsm
25 lines
292 B
ArmAsm
|
|
#include <asm.inc>
|
|
|
|
.code64
|
|
|
|
PUBLIC __getfpcw87
|
|
FUNC __getfpcw87
|
|
sub rsp, 8
|
|
.ENDPROLOG
|
|
stmxcsr [rsp]
|
|
mov rax, [rsp]
|
|
add rsp, 8
|
|
ret
|
|
ENDFUNC
|
|
|
|
PUBLIC __setfpcw87
|
|
FUNC __setfpcw87
|
|
mov qword ptr [rsp + 8], rcx
|
|
.ENDPROLOG
|
|
ldmxcsr [rsp + 8]
|
|
ret
|
|
ENDFUNC
|
|
|
|
END
|