summaryrefslogtreecommitdiff
path: root/src/math/i386/scalbn.s
diff options
context:
space:
mode:
authornsz <nsz@port70.net>2012-03-19 10:20:24 +0100
committernsz <nsz@port70.net>2012-03-19 10:20:24 +0100
commit9322344fa4c47a64361a81eda1b1930cd4341626 (patch)
tree94a641e60aef228d799035dc7c4a889ff39e4b3a /src/math/i386/scalbn.s
parent0627e58af8514967372a8ff703e7a86c2571acc2 (diff)
parent58ff9e8eaf99f2294232be860daa2ca6f3674faf (diff)
downloadmusl-9322344fa4c47a64361a81eda1b1930cd4341626.tar.gz
Merge branch 'master' of git://git.etalabs.net/musl
Diffstat (limited to 'src/math/i386/scalbn.s')
-rw-r--r--src/math/i386/scalbn.s20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/math/i386/scalbn.s b/src/math/i386/scalbn.s
new file mode 100644
index 00000000..e275d14f
--- /dev/null
+++ b/src/math/i386/scalbn.s
@@ -0,0 +1,20 @@
+.global ldexp
+.type ldexp,@function
+ldexp:
+ nop
+
+.global scalbln
+.type scalbln,@function
+scalbln:
+ nop
+
+.global scalbn
+.type scalbn,@function
+scalbn:
+ fildl 12(%esp)
+ fldl 4(%esp)
+ fscale
+ fstp %st(1)
+ fstpl 4(%esp)
+ fldl 4(%esp)
+ ret