diff options
Diffstat (limited to 'lib/libc/mips/gen/fpgetround.c')
-rw-r--r-- | lib/libc/mips/gen/fpgetround.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/libc/mips/gen/fpgetround.c b/lib/libc/mips/gen/fpgetround.c deleted file mode 100644 index 565f7c8..0000000 --- a/lib/libc/mips/gen/fpgetround.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Written by J.T. Conklin, Apr 11, 1995 - * Public domain. - */ - -#if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD$"; -#endif /* LIBC_SCCS and not lint */ - -#include <ieeefp.h> - -fp_rnd -fpgetround() -{ - int x; - - __asm__("cfc1 %0,$31" : "=r" (x)); - return x & 0x03; -} |