aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/amd64/gen/fpgetmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/amd64/gen/fpgetmask.c')
-rw-r--r--lib/libc/amd64/gen/fpgetmask.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/amd64/gen/fpgetmask.c b/lib/libc/amd64/gen/fpgetmask.c
new file mode 100644
index 000000000000..a1ab8a79c2ea
--- /dev/null
+++ b/lib/libc/amd64/gen/fpgetmask.c
@@ -0,0 +1,7 @@
+#define __IEEEFP_NOINLINES__ 1
+#include <ieeefp.h>
+
+fp_except_t fpgetmask(void)
+{
+ return __fpgetmask();
+}