summaryrefslogtreecommitdiff
path: root/src/math/x32/remainderl.s
blob: 376ba0e2d6c1e6ffe34f7f237c75e5f6f8cc24e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
.global remainderl
.type remainderl,@function
remainderl:
	fldt 24(%esp)
	fldt 8(%esp)
1:	fprem1
	fnstsw %ax
	testb $4,%ah
	jnz 1b
	fstp %st(1)
	ret