summaryrefslogtreecommitdiff
path: root/src/math/i386/fmodf.s
blob: e04e2a567256267afa6e21df2d6bfef174814b18 (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
	fnstsw %ax
	sahf
	jp 1b
	fstp %st(1)
	ret