aboutsummaryrefslogtreecommitdiff
path: root/soft-fp
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-09-17 21:37:14 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-09-17 21:37:14 +0000
commit4e8afe69e119e6a4b148e9a6e07e5894c7f6528e (patch)
tree70d43629e4eabf835e13ddbf636ed60f34e265cb /soft-fp
parentaf296fcdaba31c3a8062fec0b4198443bb43bd47 (diff)
downloadglibc-4e8afe69e119e6a4b148e9a6e07e5894c7f6528e.zip
glibc-4e8afe69e119e6a4b148e9a6e07e5894c7f6528e.tar.gz
glibc-4e8afe69e119e6a4b148e9a6e07e5894c7f6528e.tar.bz2
soft-fp: Correct _FP_TO_INT formatting.
This patch corrects some soft-fp formatting that failed to follow the GNU Coding Standards. Tested for powerpc-nofpu that the disassembly of installed shared libraries is unchanged by this patch. * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
Diffstat (limited to 'soft-fp')
-rw-r--r--soft-fp/op-common.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index 5f37a32..5852a86 100644
--- a/soft-fp/op-common.h
+++ b/soft-fp/op-common.h
@@ -1373,11 +1373,13 @@
r = 1; \
r <<= rsize - 1; \
r -= 1 - X##_s; \
- } else { \
- r = 0; \
- if (!X##_s) \
- r = ~r; \
- } \
+ } \
+ else \
+ { \
+ r = 0; \
+ if (!X##_s) \
+ r = ~r; \
+ } \
\
if (rsigned && X##_s && X##_e == _FP_EXPBIAS_##fs + rsize - 1) \
{ \