projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge from vendor branch NTPD:
[dragonfly.git]
/
lib
/
libcr
/
mips
/
gen
/
fpgetmask.c
1
/*
2
* Written by J.T. Conklin, Apr 11, 1995
3
* Public domain.
4
*/
5
6
#if defined(LIBC_SCCS) && !defined(lint)
7
static char rcsid[] = "$OpenBSD$";
8
#endif /* LIBC_SCCS and not lint */
9
10
#include <ieeefp.h>
11
12
fp_except
13
fpgetmask()
14
{
15
int x;
16
17
__asm__("cfc1 %0,$31" : "=r" (x));
18
return (x >> 7) & 0x1f;
19
}