summaryrefslogtreecommitdiff
path: root/lib/libm/arch/i387/s_rintf.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/arch/i387/s_rintf.S')
-rw-r--r--lib/libm/arch/i387/s_rintf.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libm/arch/i387/s_rintf.S b/lib/libm/arch/i387/s_rintf.S
new file mode 100644
index 00000000000..3454c650b60
--- /dev/null
+++ b/lib/libm/arch/i387/s_rintf.S
@@ -0,0 +1,13 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+
+RCSID("$NetBSD: s_rintf.S,v 1.3 1995/05/09 00:17:22 jtc Exp $")
+
+ENTRY(rintf)
+ flds 4(%esp)
+ frndint
+ ret