summaryrefslogtreecommitdiff
path: root/src/math/i386/fmodf.s
blob: d99c80f2dd01cad1a5e515d9d9ded0d11f20bc06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
.global fmodf
.type fmodf,@function
fmodf:
	flds 8(%esp)
	flds 4(%esp)
1:	fprem
	fstsw %ax
	sahf
	jp 1b
	fstp %st(1)
	ret