forked from KolibriOS/kolibrios
11 lines
127 B
ArmAsm
11 lines
127 B
ArmAsm
|
#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
|