about summary refs log tree commit diff
path: root/soft-fp/op-8.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-09-17 22:20:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-09-17 22:20:45 +0000
commitc4fe3ea7cf2e9f261006ab7ea65bd20c60fe270c (patch)
tree1b898f900d6bdc26949fbb940828958f5c129116 /soft-fp/op-8.h
parent4e8afe69e119e6a4b148e9a6e07e5894c7f6528e (diff)
downloadglibc-c4fe3ea7cf2e9f261006ab7ea65bd20c60fe270c.tar.gz
glibc-c4fe3ea7cf2e9f261006ab7ea65bd20c60fe270c.tar.xz
glibc-c4fe3ea7cf2e9f261006ab7ea65bd20c60fe270c.zip
soft-fp: Fix comment formatting.
This patch fixes formatting of comments in soft-fp (in particular, the
normal style in glibc does not have a leading '*' on each line, and
comments should start with capital letters and end with ".  */").

Tested for powerpc-nofpu that the disassembly of installed shared
libraries is unchanged by this patch.

	* soft-fp/extended.h: Fix comment formatting.
	* soft-fp/op-1.h: Likewise.
	* soft-fp/op-2.h: Likewise.
	* soft-fp/op-4.h: Likewise.
	* soft-fp/op-8.h: Likewise.
	* soft-fp/op-common.h: Likewise.
	* soft-fp/soft-fp.h: Likewise.
Diffstat (limited to 'soft-fp/op-8.h')
-rw-r--r--soft-fp/op-8.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/soft-fp/op-8.h b/soft-fp/op-8.h
index c966ee28d2..a47799f114 100644
--- a/soft-fp/op-8.h
+++ b/soft-fp/op-8.h
@@ -30,7 +30,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 /* We need just a few things from here for op-4, if we ever need some
-   other macros, they can be added. */
+   other macros, they can be added.  */
 #define _FP_FRAC_DECL_8(X)	_FP_W_TYPE X##_f[8]
 #define _FP_FRAC_HIGH_8(X)	(X##_f[7])
 #define _FP_FRAC_LOW_8(X)	(X##_f[0])
@@ -100,10 +100,9 @@
 
 
 /* Right shift with sticky-lsb.
- * What this actually means is that we do a standard right-shift,
- * but that if any of the bits that fall off the right hand side
- * were one then we always set the LSbit.
- */
+   What this actually means is that we do a standard right-shift,
+   but that if any of the bits that fall off the right hand side
+   were one then we always set the LSbit.  */
 #define _FP_FRAC_SRS_8(X, N, size)					\
   do									\
     {									\
@@ -139,8 +138,8 @@
 	}								\
       for (; _FP_FRAC_SRS_8_i < 8; ++_FP_FRAC_SRS_8_i)			\
 	X##_f[_FP_FRAC_SRS_8_i] = 0;					\
-      /* don't fix the LSB until the very end when we're sure f[0] is	\
-	 stable */							\
+      /* Don't fix the LSB until the very end when we're sure f[0] is	\
+	 stable.  */							\
       X##_f[0] |= (_FP_FRAC_SRS_8_s != 0);				\
     }									\
   while (0)