This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
soft-fp: Correct _FP_TO_INT formatting
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 17 Sep 2014 21:38:23 +0000
- Subject: soft-fp: Correct _FP_TO_INT formatting
- Authentication-results: sourceware.org; auth=none
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.
Committed as obvious.
2014-09-17 Joseph Myers <joseph@codesourcery.com>
* soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
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) \
{ \
--
Joseph S. Myers
joseph@codesourcery.com