summaryrefslogtreecommitdiff
path: root/src/math/x86_64/acosl.s
blob: 88e01b49a2bbe72cbb3332e15fa71a9134a4a99c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# see ../i386/acos.s

.global acosl
.type acosl,@function
acosl:
	fldt 8(%rsp)
1:	fld %st(0)
	fld1
	fsub %st(0),%st(1)
	fadd %st(2)
	fmulp
	fsqrt
	fabs
	fxch %st(1)
	fpatan
	ret