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

12 lines
149 B
ArmAsm

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