about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/s_scalbnf.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/s_scalbnf.S')
-rw-r--r--sysdeps/i386/fpu/s_scalbnf.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/s_scalbnf.S b/sysdeps/i386/fpu/s_scalbnf.S
new file mode 100644
index 0000000000..dc8cfb4296
--- /dev/null
+++ b/sysdeps/i386/fpu/s_scalbnf.S
@@ -0,0 +1,19 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+
+RCSID("$NetBSD: s_scalbnf.S,v 1.3 1995/05/09 00:19:59 jtc Exp $")
+
+ENTRY(__scalbnf)
+	fildl	8(%esp)
+	flds	4(%esp)
+	fscale
+	fstp	%st(1)
+	ret
+END (__scalbnf)
+weak_alias (__scalbnf, scalbnf)
+strong_alias (__scalbnf, __scalblnf)
+weak_alias (__scalbnf, scalblnf)