summaryrefslogblamecommitdiff
path: root/src/math/i386/remainderl.s
blob: b41518ede9ee50c8899e9e9a72a2ceca08222fb0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                          
                  



                   
.global remainderl
.type remainderl,@function
remainderl:
	fldt 16(%esp)
	fldt 4(%esp)
1:	fprem1
	fnstsw %ax
	sahf
	jp 1b
	fstp %st(1)
	ret