about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-02-27 15:24:09 -0800
committerDavid S. Miller <davem@davemloft.net>2012-02-27 15:26:06 -0800
commitd674b76d0e46202ab8fd582b9d44d918d5fdd3e7 (patch)
treeff2006eec89c8dfeca01a48771575600df5bd013 /sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S
parent0e7727f71db5d393cf7374704d62d7ff23992950 (diff)
downloadglibc-d674b76d0e46202ab8fd582b9d44d918d5fdd3e7.tar.gz
glibc-d674b76d0e46202ab8fd582b9d44d918d5fdd3e7.tar.xz
glibc-d674b76d0e46202ab8fd582b9d44d918d5fdd3e7.zip
Fix comment formatting in new optimized sparc math files.
Diffstat (limited to 'sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S')
-rw-r--r--sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S45
1 files changed, 22 insertions, 23 deletions
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S b/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S
index fbc6faa7d7..e5129fdba1 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S
@@ -20,29 +20,28 @@
 #include <sysdep.h>
 
 	/* Since changing the rounding mode is extremely expensive, we
-	 * try to round up using a method that is rounding mode
-	 * agnostic.
-	 *
-	 * We add then subtract (or subtract than add if the initial
-	 * value was negative) 2**23 to the value, then subtract it
-	 * back out.
-	 *
-	 * This will clear out the fractional portion of the value.
-	 * One of two things will happen for non-whole initial values.
-	 * Either the rounding mode will round it up, or it will be
-	 * rounded down.  If the value started out whole, it will be
-	 * equal after the addition and subtraction.  This means we
-	 * can accurately detect with one test whether we need to add
-	 * another 1.0 to round it up properly.
-	 *
-	 * We pop constants into the FPU registers using the incoming
-	 * argument stack slots, since this avoid having to use any PIC
-	 * references.  We also thus avoid having to allocate a register
-	 * window.
-	 *
-	 * VIS instructions are used to facilitate the formation of
-	 * easier constants, and the propagation of the sign bit.
-	 */
+	   try to round up using a method that is rounding mode
+	   agnostic.
+
+	   We add then subtract (or subtract than add if the initial
+	   value was negative) 2**23 to the value, then subtract it
+	   back out.
+
+	   This will clear out the fractional portion of the value.
+	   One of two things will happen for non-whole initial values.
+	   Either the rounding mode will round it up, or it will be
+	   rounded down.  If the value started out whole, it will be
+	   equal after the addition and subtraction.  This means we
+	   can accurately detect with one test whether we need to add
+	   another 1.0 to round it up properly.
+
+	   We pop constants into the FPU registers using the incoming
+	   argument stack slots, since this avoid having to use any
+	   PIC references.  We also thus avoid having to allocate a
+	   register window.
+
+	   VIS instructions are used to facilitate the formation of
+	   easier constants, and the propagation of the sign bit.  */
 
 #define TWO_TWENTYTHREE	0x4b000000		/* 2**23 */
 #define ONE_DOT_ZERO	0x3f800000		/* 1.0 */