fcad0aa7c4
actually the amd64 version.
21 lines
262 B
ArmAsm
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
|