summaryrefslogtreecommitdiff
path: root/libm/powerpc/e500/fpu/feenablxcpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/powerpc/e500/fpu/feenablxcpt.c')
-rw-r--r--libm/powerpc/e500/fpu/feenablxcpt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libm/powerpc/e500/fpu/feenablxcpt.c b/libm/powerpc/e500/fpu/feenablxcpt.c
index 4f00a918d..999fdd734 100644
--- a/libm/powerpc/e500/fpu/feenablxcpt.c
+++ b/libm/powerpc/e500/fpu/feenablxcpt.c
@@ -31,15 +31,15 @@ feenableexcept (int excepts)
INTERNAL_SYSCALL (prctl, err, 2, PR_GET_FPEXC, &pflags);
/* Save old enable bits. */
- if (pflags & PR_FP_EXC_OVF)
+ if (pflags & PR_FP_EXC_OVF)
result |= FE_OVERFLOW;
- if (pflags & PR_FP_EXC_UND)
+ if (pflags & PR_FP_EXC_UND)
result |= FE_UNDERFLOW;
- if (pflags & PR_FP_EXC_INV)
+ if (pflags & PR_FP_EXC_INV)
result |= FE_INVALID;
- if (pflags & PR_FP_EXC_DIV)
+ if (pflags & PR_FP_EXC_DIV)
result |= FE_DIVBYZERO;
- if (pflags & PR_FP_EXC_RES)
+ if (pflags & PR_FP_EXC_RES)
result |= FE_INEXACT;
if (excepts & FE_INEXACT)