kolibrios/programs/develop/libraries/menuetlibc/src/libm/e_fmod.s

11 lines
127 B
ArmAsm
Raw Normal View History

#include<libc/asm.h>
MK_C_SYM(__ieee754_fmod)
fldl 12(%esp)
fldl 4(%esp)
1: fprem
fstsw %ax
sahf
jp 1b
fstpl %st(1)
ret