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