summaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu/s_scalbnl.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/s_scalbnl.S')
-rw-r--r--sysdeps/i386/fpu/s_scalbnl.S20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/s_scalbnl.S b/sysdeps/i386/fpu/s_scalbnl.S
new file mode 100644
index 0000000000..295494b3d2
--- /dev/null
+++ b/sysdeps/i386/fpu/s_scalbnl.S
@@ -0,0 +1,20 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+
+RCSID("$NetBSD: $")
+
+ENTRY(__scalbnl)
+ fildl 16(%esp)
+ fldt 4(%esp)
+ fscale
+ fstp %st(1)
+ ret
+END (__scalbnl)
+weak_alias (__scalbnl, scalbnl)
+strong_alias (__scalbnl, __scalblnl)
+weak_alias (__scalbnl, scalblnl)