summaryrefslogtreecommitdiffstats
path: root/lib/libc/powerpc/gen/fpgetmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/powerpc/gen/fpgetmask.c')
-rw-r--r--lib/libc/powerpc/gen/fpgetmask.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/powerpc/gen/fpgetmask.c b/lib/libc/powerpc/gen/fpgetmask.c
index 4d9a3b0..aa7623b 100644
--- a/lib/libc/powerpc/gen/fpgetmask.c
+++ b/lib/libc/powerpc/gen/fpgetmask.c
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <ieeefp.h>
+#ifndef _SOFT_FLOAT
fp_except_t
fpgetmask()
{
@@ -51,3 +52,4 @@ fpgetmask()
__asm__("mffs %0" : "=f"(fpscr));
return ((fp_except_t)((fpscr >> 3) & 0x1f));
}
+#endif
OpenPOWER on IntegriCloud