summary refs log tree commit diff
path: root/sysdeps/libm-i387/e_scalbl.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/e_scalbl.S')
-rw-r--r--sysdeps/libm-i387/e_scalbl.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/e_scalbl.S b/sysdeps/libm-i387/e_scalbl.S
new file mode 100644
index 0000000000..8d5cd3b429
--- /dev/null
+++ b/sysdeps/libm-i387/e_scalbl.S
@@ -0,0 +1,16 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ *
+ * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
+ */
+
+#include <machine/asm.h>
+
+RCSID("$NetBSD: $")
+
+ENTRY(__ieee754_scalbl)
+	fldt	16(%esp)
+	fldt	4(%esp)
+	fscale
+	ret