about summary refs log tree commit diff
path: root/src/math/x32/fmodl.s
blob: 9e4378ab934cc460b885fbc6f92f86313c5ea1e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
.global fmodl
.type fmodl,@function
fmodl:
	fldt 24(%esp)
	fldt 8(%esp)
1:	fprem
	fstsw %ax
	sahf
	jp 1b
	fstp %st(1)
	ret