diff options
Diffstat (limited to 'lib/libc/mips/gen/fpgetround.c')
-rw-r--r-- | lib/libc/mips/gen/fpgetround.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/libc/mips/gen/fpgetround.c b/lib/libc/mips/gen/fpgetround.c deleted file mode 100644 index b364481..0000000 --- a/lib/libc/mips/gen/fpgetround.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_rnd -fpgetround() -{ - int x; - - __asm__("cfc1 %0,$31" : "=r" (x)); - return x & 0x03; -} |