aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu/s_atanl.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/s_atanl.S')
-rw-r--r--sysdeps/i386/fpu/s_atanl.S18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/s_atanl.S b/sysdeps/i386/fpu/s_atanl.S
new file mode 100644
index 0000000000..8b07272764
--- /dev/null
+++ b/sysdeps/i386/fpu/s_atanl.S
@@ -0,0 +1,18 @@
+/*
+ * 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(__atanl)
+ fldt 4(%esp)
+ fld1
+ fpatan
+ ret
+END (__atanl)
+weak_alias (__atanl, atanl)