summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/math/i386/log2f.s
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/math/i386/log2f.s')
-rw-r--r--libc-top-half/musl/src/math/i386/log2f.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/math/i386/log2f.s b/libc-top-half/musl/src/math/i386/log2f.s
new file mode 100644
index 0000000..b32fa2f
--- /dev/null
+++ b/libc-top-half/musl/src/math/i386/log2f.s
@@ -0,0 +1,9 @@
+.global log2f
+.type log2f,@function
+log2f:
+ fld1
+ flds 4(%esp)
+ fyl2x
+ fstps 4(%esp)
+ flds 4(%esp)
+ ret