summaryrefslogtreecommitdiffstats
path: root/lib/msun/i387/e_fmodf.S
blob: e269447226e9f8d8779f1b6fcacce739bfaf39d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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
OpenPOWER on IntegriCloud