summaryrefslogtreecommitdiff
path: root/src/math/x32/fmodl.s
blob: ca81e60c6254ee5167844a463dba1a8163d922bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
.global fmodl
.type fmodl,@function
fmodl:
	fldt 24(%rsp)
	fldt 8(%rsp)
1:	fprem
	fstsw %ax
	sahf
	jp 1b
	fstp %st(1)
	ret