about summary refs log tree commit diff
path: root/src/math/i386/log1pl.s
blob: a048ab6b3dd45f292fdd0cf369373458328c746b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.global log1pl
.type log1pl,@function
log1pl:
	mov 10(%esp),%eax
	fldln2
	and $0x7fffffff,%eax
	fldt 4(%esp)
	cmp $0x3ffd9400,%eax
	ja 1f
	fyl2xp1
	ret
1:	fld1
	faddp
	fyl2x
	ret