about summary refs log tree commit diff
path: root/src/math/i386/log.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/log.s')
-rw-r--r--src/math/i386/log.s7
1 files changed, 7 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