about summary refs log tree commit diff
path: root/src/math/i386
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386')
-rw-r--r--src/math/i386/log.s7
-rw-r--r--src/math/i386/log10.s7
-rw-r--r--src/math/i386/log10f.s7
-rw-r--r--src/math/i386/log10l.s7
-rw-r--r--src/math/i386/logf.s7
-rw-r--r--src/math/i386/logl.s7
6 files changed, 42 insertions, 0 deletions
diff --git a/src/math/i386/log.s b/src/math/i386/log.s
new file mode 100644
index 00000000..fcccf030
--- /dev/null
+++ b/src/math/i386/log.s
@@ -0,0 +1,7 @@
+.global log
+.type log,@function
+log:
+	fldln2
+	fldl 4(%esp)
+	fyl2x
+	ret
diff --git a/src/math/i386/log10.s b/src/math/i386/log10.s
new file mode 100644
index 00000000..28eb5b2f
--- /dev/null
+++ b/src/math/i386/log10.s
@@ -0,0 +1,7 @@
+.global log10
+.type log10,@function
+log10:
+	fldlg2
+	fldl 4(%esp)
+	fyl2x
+	ret
diff --git a/src/math/i386/log10f.s b/src/math/i386/log10f.s
new file mode 100644
index 00000000..c0c0c67e
--- /dev/null
+++ b/src/math/i386/log10f.s
@@ -0,0 +1,7 @@
+.global log10f
+.type log10f,@function
+log10f:
+	fldlg2
+	flds 4(%esp)
+	fyl2x
+	ret
diff --git a/src/math/i386/log10l.s b/src/math/i386/log10l.s
new file mode 100644
index 00000000..aaa44f2f
--- /dev/null
+++ b/src/math/i386/log10l.s
@@ -0,0 +1,7 @@
+.global log10l
+.type log10l,@function
+log10l:
+	fldlg2
+	fldt 4(%esp)
+	fyl2x
+	ret
diff --git a/src/math/i386/logf.s b/src/math/i386/logf.s
new file mode 100644
index 00000000..da7ff3ae
--- /dev/null
+++ b/src/math/i386/logf.s
@@ -0,0 +1,7 @@
+.global logf
+.type logf,@function
+logf:
+	fldln2
+	flds 4(%esp)
+	fyl2x
+	ret
diff --git a/src/math/i386/logl.s b/src/math/i386/logl.s
new file mode 100644
index 00000000..d4e3339b
--- /dev/null
+++ b/src/math/i386/logl.s
@@ -0,0 +1,7 @@
+.global logl
+.type logl,@function
+logl:
+	fldln2
+	fldt 4(%esp)
+	fyl2x
+	ret