about summary refs log tree commit diff
path: root/src/math/i386/acos.s
blob: 4f0168f623d1f0294324b286ad90e2e9d2c46785 (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
31
32
.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
	fxch %st(2)
	faddp
	fdivp
	fsqrt
	fld1
	fxch %st(1)
	fpatan
	fld1
	fld1
	faddp
	fmulp
	ret