about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/s_rint.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/s_rint.S')
-rw-r--r--sysdeps/i386/fpu/s_rint.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/s_rint.S b/sysdeps/i386/fpu/s_rint.S
new file mode 100644
index 0000000000..be36c5f0ca
--- /dev/null
+++ b/sysdeps/i386/fpu/s_rint.S
@@ -0,0 +1,15 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+
+RCSID("$NetBSD: s_rint.S,v 1.4 1995/05/09 00:16:08 jtc Exp $")
+
+ENTRY(__rint)
+	fldl	4(%esp)
+	frndint
+	ret
+END (__rint)
+weak_alias (__rint, rint)