summaryrefslogtreecommitdiff
path: root/libm/powerpc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:23:36 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:23:36 +0000
commit1f020b178664857b0e107778d04fb971a58e6230 (patch)
treec1cd86593b5d354091e0fa3201c5789bec5c53ad /libm/powerpc
parentf1775381f91f1250b20f1949dfd0364ddb0ee9fc (diff)
- trim any trailing whitespace
Diffstat (limited to 'libm/powerpc')
-rw-r--r--libm/powerpc/e500/fpu/fedisblxcpt.c10
-rw-r--r--libm/powerpc/e500/fpu/feenablxcpt.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/libm/powerpc/e500/fpu/fedisblxcpt.c b/libm/powerpc/e500/fpu/fedisblxcpt.c
index d2c5caba7..aeca87bc6 100644
--- a/libm/powerpc/e500/fpu/fedisblxcpt.c
+++ b/libm/powerpc/e500/fpu/fedisblxcpt.c
@@ -31,15 +31,15 @@ fedisableexcept (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)
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)