summaryrefslogblamecommitdiff
path: root/src/math/x32/fmodl.s
blob: c3f790c9bfca43bac6b36ba2b0ad1d40e7415919 (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
	fnstsw %ax
	testb $4,%ah
	jnz 1b
	fstp %st(1)
	ret