about summary refs log tree commit diff
path: root/src/math/i386/log.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-03-18 23:50:54 -0400
committerRich Felker <dalias@aerifal.cx>2012-03-18 23:50:54 -0400
commit495a52ae7bb581aac2942d7cb095cca2ff53ca3c (patch)
tree1f3ddd19394ebff4493ab45e009c6fcc27fdad28 /src/math/i386/log.s
parentaa1b4dff45788f8205e32ea01da243fe09568aa8 (diff)
downloadmusl-495a52ae7bb581aac2942d7cb095cca2ff53ca3c.tar.gz
musl-495a52ae7bb581aac2942d7cb095cca2ff53ca3c.tar.xz
musl-495a52ae7bb581aac2942d7cb095cca2ff53ca3c.zip
asm for log functions
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