summaryrefslogtreecommitdiff
path: root/lib/libm/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-11-05 20:14:33 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-11-05 20:14:33 +0000
commitf151de983fbddb3f03159901963c29f64d1c139f (patch)
tree23b35b7474f01cf729712243438b55686c04f1d3 /lib/libm/arch
parent2912e135272e1b5142e5a571259c1abc96542b65 (diff)
Provide assembly version of sqrtl(3).
ok otto@
Diffstat (limited to 'lib/libm/arch')
-rw-r--r--lib/libm/arch/i387/e_sqrtl.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libm/arch/i387/e_sqrtl.S b/lib/libm/arch/i387/e_sqrtl.S
new file mode 100644
index 00000000000..d18d25f6dd6
--- /dev/null
+++ b/lib/libm/arch/i387/e_sqrtl.S
@@ -0,0 +1,12 @@
+/* $OpenBSD: e_sqrtl.S,v 1.1 2009/11/05 20:14:32 kettenis Exp $ */
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+
+ENTRY(sqrtl)
+ fldt 4(%esp)
+ fsqrt
+ ret