summaryrefslogblamecommitdiff
path: root/src/math/i386/asin.s
blob: 932c7542442787f30361489b3f4e9d57fed7ffec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                     
            


                          


              
.global asinf
.type asinf,@function
asinf:
	flds 4(%esp)
	jmp 1f

.global asinl
.type asinl,@function
asinl:
	fldt 4(%esp)
	jmp 1f

.global asin
.type asin,@function
asin:
	fldl 4(%esp)
1:	fld %st(0)
	fld1
	fsub %st(0),%st(1)
	fadd %st(2)
	fmulp
	fsqrt
	fpatan
	ret