about summary refs log tree commit diff
path: root/src/math/i386/remainderf.s
blob: 6a7378a3401755402859220b211d46fc26193c8a (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
	fnstsw %ax
	sahf
	jp 1b
	fstp %st(1)
	ret