summaryrefslogtreecommitdiff
path: root/src/math/i386/s_scalbln.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/s_scalbln.s')
-rw-r--r--src/math/i386/s_scalbln.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/math/i386/s_scalbln.s b/src/math/i386/s_scalbln.s
new file mode 100644
index 00000000..bd022b46
--- /dev/null
+++ b/src/math/i386/s_scalbln.s
@@ -0,0 +1,11 @@
+.global ldexp
+.global scalbn
+.global scalbln
+ldexp:
+scalbn:
+scalbln:
+ fildl 12(%esp)
+ fldl 4(%esp)
+ fscale
+ fstp %st(1)
+ ret