BizHawk/waterbox/libc/functions/math/x86_64/fmodl.s

12 lines
133 B
ArmAsm

.global fmodl
.type fmodl,@function
fmodl:
fldt 24(%rsp)
fldt 8(%rsp)
1: fprem
fnstsw %ax
testb $4,%ah
jnz 1b
fstp %st(1)
ret