summaryrefslogtreecommitdiff
path: root/src/math/i386
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
parentaa1b4dff45788f8205e32ea01da243fe09568aa8 (diff)
downloadmusl-495a52ae7bb581aac2942d7cb095cca2ff53ca3c.tar.gz
musl-495a52ae7bb581aac2942d7cb095cca2ff53ca3c.tar.bz2
musl-495a52ae7bb581aac2942d7cb095cca2ff53ca3c.tar.xz
musl-495a52ae7bb581aac2942d7cb095cca2ff53ca3c.zip
asm for log functions
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