summaryrefslogblamecommitdiff
path: root/src/math/x32/fmodl.s
blob: b95132042d8590f86431102a58a2448e44044546 (plain) (tree)
1
2
3
4
5
6
7
8
9


                     

                     

                 

                    

                   
.global fmodl
.type fmodl,@function
fmodl:
	fldt 24(%esp)
	fldt 8(%esp)
1:	fprem
	fstsw %ax
	testb $4,%ah
	jnz 1b
	fstp %st(1)
	ret