macaw/x86/x86_tests/ucomis_run.s
2019-04-04 09:42:11 -07:00

26 lines
292 B
ArmAsm

.intel_syntax noprefix
.section __TEXT,__text
.global _do_ucomiss
_do_ucomiss:
mov rax, 0
push rax
popfq
ucomiss xmm0, xmm1
pushfq
pop rax
ret
.global _get_mxcsr
_get_mxcsr:
push rax
stmxcsr [rsp]
pop rax
ret
.global _set_mxcsr
_set_mxcsr:
push rdi
ldmxcsr [rsp]
pop rdi
ret