freebsd-dev/lib/msun/i387/e_fmodf.S
2016-09-04 15:08:14 +00:00

21 lines
262 B
ArmAsm

/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
__FBSDID("$FreeBSD$")
ENTRY(fmodf)
flds 8(%esp)
flds 4(%esp)
1: fprem
fstsw %ax
sahf
jp 1b
fstp %st(1)
ret
END(fmodf)
.section .note.GNU-stack,"",%progbits