summaryrefslogtreecommitdiff
path: root/src/math/i386/asin.s
blob: cab7bfc84466cf63d220bc6824c380577addd413 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.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)
	fmul %st(0)
	fld1
	fsubp %st(1)
	fsqrt
	fpatan
	ret