summaryrefslogtreecommitdiff
path: root/src/math/x32/remainderl.s
blob: 79bf4feb52c0f9fb059bf09db033eaae7da547e0 (plain)
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
	fstsw %ax
	testb $4,%ah
	jnz 1b
	fstp %st(1)
	ret