summaryrefslogtreecommitdiff
path: root/src/math/i386/acos.s
blob: bfff0c5c9a89d3332ea7df6a8e5d3cd0a68a01f3 (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
24
25
26
27
28
29
30
.global acosf
.type acosf,@function
acosf:
	flds 4(%esp)
	jmp 1f

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

.global acos
.type acos,@function
acos:
	fldl 4(%esp)
1:	fld1
	fld %st(1)
	fld1
	fsubp
	fsqrt
	fxch %st(2)
	faddp
	fsqrt
	fpatan
	fld1
	fld1
	faddp
	fmulp
	ret