aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/e_sqrt.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/e_sqrt.S')
-rw-r--r--sysdeps/libm-i387/e_sqrt.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/e_sqrt.S b/sysdeps/libm-i387/e_sqrt.S
new file mode 100644
index 0000000..34fe9b7
--- /dev/null
+++ b/sysdeps/libm-i387/e_sqrt.S
@@ -0,0 +1,13 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+
+RCSID("$NetBSD: e_sqrt.S,v 1.4 1995/05/08 23:49:57 jtc Exp $")
+
+ENTRY(__ieee754_sqrt)
+ fldl 4(%esp)
+ fsqrt
+ ret