summaryrefslogtreecommitdiff
path: root/lib/libc/arch/ns32k/gen/fpgetmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/ns32k/gen/fpgetmask.c')
-rw-r--r--lib/libc/arch/ns32k/gen/fpgetmask.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/libc/arch/ns32k/gen/fpgetmask.c b/lib/libc/arch/ns32k/gen/fpgetmask.c
deleted file mode 100644
index 5b8ff91f4f3..00000000000
--- a/lib/libc/arch/ns32k/gen/fpgetmask.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Written by J.T. Conklin, Apr 10, 1995
- * Public domain.
- */
-
-#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: fpgetmask.c,v 1.2 1996/08/19 08:16:41 tholo Exp $";
-#endif /* LIBC_SCCS and not lint */
-
-#include <ieeefp.h>
-#include <machine/cpufunc.h>
-#include <machine/fpu.h>
-
-fp_except
-fpgetmask()
-{
- fp_except x;
- fp_except ebits = FPC_IEN | FPC_OVE | FPC_IVE | FPC_DZE | FPC_UNDE;
-
- sfsr(x);
-
- return x & ebits;
-}