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