about summary refs log tree commit diff
path: root/src/math/i386/e_exp.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/e_exp.s')
-rw-r--r--src/math/i386/e_exp.s38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/math/i386/e_exp.s b/src/math/i386/e_exp.s
deleted file mode 100644
index c50abc5e..00000000
--- a/src/math/i386/e_exp.s
+++ /dev/null
@@ -1,38 +0,0 @@
-.global expf
-.type expf,@function
-expf:
-	mov 4(%esp),%eax
-	flds 4(%esp)
-	shr $23,%eax
-	inc %al
-	jz 1f
-	jmp 0f
-
-.global exp
-.type exp,@function
-exp:
-	mov 8(%esp),%eax
-	fldl 4(%esp)
-	shl %eax
-	cmp $0xffe00000,%eax
-	jae 1f
-
-0:	fldl2e
-	fmulp
-	fst %st(1)
-	frndint
-	fst %st(2)
-	fsubrp
-	f2xm1
-	fld1
-	faddp
-	fscale
-	fstp %st(1)
-	ret
-
-1:	fsts 4(%esp)
-	cmpl $0xff800000,4(%esp)
-	jnz 1f
-	fstp %st(0)
-	fldz
-1:	ret