about summary refs log tree commit diff
path: root/src/math/i386/remainderf.s
blob: ac6e36779baf85e5bb3b244c53a0bc217a858fcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.global remainderf
.type remainderf,@function
remainderf:
.weak dremf
.type dremf,@function
dremf:
	flds 8(%esp)
	flds 4(%esp)
1:	fprem1
	fstsw %ax
	sahf
	jp 1b
	fstp %st(1)
	ret