summaryrefslogtreecommitdiffstats
path: root/lib/libc/mips/gen/fpgetmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/mips/gen/fpgetmask.c')
-rw-r--r--lib/libc/mips/gen/fpgetmask.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/libc/mips/gen/fpgetmask.c b/lib/libc/mips/gen/fpgetmask.c
deleted file mode 100644
index 67319db..0000000
--- a/lib/libc/mips/gen/fpgetmask.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Written by J.T. Conklin, Apr 11, 1995
- * Public domain.
- */
-
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
-#include <ieeefp.h>
-
-fp_except
-fpgetmask()
-{
- int x;
-
- __asm__("cfc1 %0,$31" : "=r" (x));
- return (x >> 7) & 0x1f;
-}
OpenPOWER on IntegriCloud