1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

Fix comment formatting in new optimized sparc math files.

This commit is contained in:
David S. Miller
2012-02-27 15:24:09 -08:00
parent 0e7727f71d
commit d674b76d0e
9 changed files with 123 additions and 120 deletions

View File

@@ -1,3 +1,14 @@
2012-02-27 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2012-02-27 Joseph Myers <joseph@codesourcery.com> 2012-02-27 Joseph Myers <joseph@codesourcery.com>
* configure.in (CC): Restrict allowed GCC versions to 4.3 and * configure.in (CC): Restrict allowed GCC versions to 4.3 and

View File

@@ -20,29 +20,28 @@
#include <sysdep.h> #include <sysdep.h>
/* Since changing the rounding mode is extremely expensive, we /* Since changing the rounding mode is extremely expensive, we
* try to round up using a method that is rounding mode try to round up using a method that is rounding mode
* agnostic. agnostic.
*
* We add then subtract (or subtract than add if the initial We add then subtract (or subtract than add if the initial
* value was negative) 2**23 to the value, then subtract it value was negative) 2**23 to the value, then subtract it
* back out. back out.
*
* This will clear out the fractional portion of the value. This will clear out the fractional portion of the value.
* One of two things will happen for non-whole initial values. One of two things will happen for non-whole initial values.
* Either the rounding mode will round it up, or it will be Either the rounding mode will round it up, or it will be
* rounded down. If the value started out whole, it will be rounded down. If the value started out whole, it will be
* equal after the addition and subtraction. This means we equal after the addition and subtraction. This means we
* can accurately detect with one test whether we need to add can accurately detect with one test whether we need to add
* another 1.0 to round it up properly. another 1.0 to round it up properly.
*
* We pop constants into the FPU registers using the incoming We pop constants into the FPU registers using the incoming
* argument stack slots, since this avoid having to use any PIC argument stack slots, since this avoid having to use any
* references. We also thus avoid having to allocate a register PIC references. We also thus avoid having to allocate a
* window. register window.
*
* VIS instructions are used to facilitate the formation of VIS instructions are used to facilitate the formation of
* easier constants, and the propagation of the sign bit. easier constants, and the propagation of the sign bit. */
*/
#define TWO_FIFTYTWO 0x43300000 /* 2**52 */ #define TWO_FIFTYTWO 0x43300000 /* 2**52 */
#define ONE_DOT_ZERO 0x3ff00000 /* 1.0 */ #define ONE_DOT_ZERO 0x3ff00000 /* 1.0 */

View File

@@ -20,29 +20,28 @@
#include <sysdep.h> #include <sysdep.h>
/* Since changing the rounding mode is extremely expensive, we /* Since changing the rounding mode is extremely expensive, we
* try to round up using a method that is rounding mode try to round up using a method that is rounding mode
* agnostic. agnostic.
*
* We add then subtract (or subtract than add if the initial We add then subtract (or subtract than add if the initial
* value was negative) 2**23 to the value, then subtract it value was negative) 2**23 to the value, then subtract it
* back out. back out.
*
* This will clear out the fractional portion of the value. This will clear out the fractional portion of the value.
* One of two things will happen for non-whole initial values. One of two things will happen for non-whole initial values.
* Either the rounding mode will round it up, or it will be Either the rounding mode will round it up, or it will be
* rounded down. If the value started out whole, it will be rounded down. If the value started out whole, it will be
* equal after the addition and subtraction. This means we equal after the addition and subtraction. This means we
* can accurately detect with one test whether we need to add can accurately detect with one test whether we need to add
* another 1.0 to round it up properly. another 1.0 to round it up properly.
*
* We pop constants into the FPU registers using the incoming We pop constants into the FPU registers using the incoming
* argument stack slots, since this avoid having to use any PIC argument stack slots, since this avoid having to use any
* references. We also thus avoid having to allocate a register PIC references. We also thus avoid having to allocate a
* window. register window.
*
* VIS instructions are used to facilitate the formation of VIS instructions are used to facilitate the formation of
* easier constants, and the propagation of the sign bit. easier constants, and the propagation of the sign bit. */
*/
#define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */ #define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */
#define ONE_DOT_ZERO 0x3f800000 /* 1.0 */ #define ONE_DOT_ZERO 0x3f800000 /* 1.0 */

View File

@@ -20,13 +20,12 @@
#include <sysdep.h> #include <sysdep.h>
/* We pop constants into the FPU registers using the incoming /* We pop constants into the FPU registers using the incoming
* argument stack slots, since this avoid having to use any PIC argument stack slots, since this avoid having to use any PIC
* references. We also thus avoid having to allocate a register references. We also thus avoid having to allocate a register
* window. window.
*
* VIS instructions are used to facilitate the formation of VIS instructions are used to facilitate the formation of
* easier constants, and the propagation of the sign bit. easier constants, and the propagation of the sign bit. */
*/
#define TWO_FIFTYTWO 0x43300000 /* 2**52 */ #define TWO_FIFTYTWO 0x43300000 /* 2**52 */

View File

@@ -20,13 +20,12 @@
#include <sysdep.h> #include <sysdep.h>
/* We pop constants into the FPU registers using the incoming /* We pop constants into the FPU registers using the incoming
* argument stack slots, since this avoid having to use any PIC argument stack slots, since this avoid having to use any PIC
* references. We also thus avoid having to allocate a register references. We also thus avoid having to allocate a register
* window. window.
*
* VIS instructions are used to facilitate the formation of VIS instructions are used to facilitate the formation of
* easier constants, and the propagation of the sign bit. easier constants, and the propagation of the sign bit. */
*/
#define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */ #define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */

View File

@@ -20,29 +20,28 @@
#include <sysdep.h> #include <sysdep.h>
/* Since changing the rounding mode is extremely expensive, we /* Since changing the rounding mode is extremely expensive, we
* try to round up using a method that is rounding mode try to round up using a method that is rounding mode
* agnostic. agnostic.
*
* We add then subtract (or subtract than add if the initial We add then subtract (or subtract than add if the initial
* value was negative) 2**23 to the value, then subtract it value was negative) 2**23 to the value, then subtract it
* back out. back out.
*
* This will clear out the fractional portion of the value. This will clear out the fractional portion of the value.
* One of two things will happen for non-whole initial values. One of two things will happen for non-whole initial values.
* Either the rounding mode will round it up, or it will be Either the rounding mode will round it up, or it will be
* rounded down. If the value started out whole, it will be rounded down. If the value started out whole, it will be
* equal after the addition and subtraction. This means we equal after the addition and subtraction. This means we
* can accurately detect with one test whether we need to add can accurately detect with one test whether we need to add
* another 1.0 to round it up properly. another 1.0 to round it up properly.
*
* We pop constants into the FPU registers using the incoming We pop constants into the FPU registers using the incoming
* argument stack slots, since this avoid having to use any PIC argument stack slots, since this avoid having to use any
* references. We also thus avoid having to allocate a register PIC references. We also thus avoid having to allocate a
* window. register window.
*
* VIS instructions are used to facilitate the formation of VIS instructions are used to facilitate the formation of
* easier constants, and the propagation of the sign bit. easier constants, and the propagation of the sign bit. */
*/
#define TWO_FIFTYTWO 0x43300000 /* 2**52 */ #define TWO_FIFTYTWO 0x43300000 /* 2**52 */
#define ONE_DOT_ZERO 0x3ff00000 /* 1.0 */ #define ONE_DOT_ZERO 0x3ff00000 /* 1.0 */

View File

@@ -20,29 +20,28 @@
#include <sysdep.h> #include <sysdep.h>
/* Since changing the rounding mode is extremely expensive, we /* Since changing the rounding mode is extremely expensive, we
* try to round up using a method that is rounding mode try to round up using a method that is rounding mode
* agnostic. agnostic.
*
* We add then subtract (or subtract than add if the initial We add then subtract (or subtract than add if the initial
* value was negative) 2**23 to the value, then subtract it value was negative) 2**23 to the value, then subtract it
* back out. back out.
*
* This will clear out the fractional portion of the value. This will clear out the fractional portion of the value.
* One of two things will happen for non-whole initial values. One of two things will happen for non-whole initial values.
* Either the rounding mode will round it up, or it will be Either the rounding mode will round it up, or it will be
* rounded down. If the value started out whole, it will be rounded down. If the value started out whole, it will be
* equal after the addition and subtraction. This means we equal after the addition and subtraction. This means we
* can accurately detect with one test whether we need to add can accurately detect with one test whether we need to add
* another 1.0 to round it up properly. another 1.0 to round it up properly.
*
* We pop constants into the FPU registers using the incoming We pop constants into the FPU registers using the incoming
* argument stack slots, since this avoid having to use any PIC argument stack slots, since this avoid having to use any
* references. We also thus avoid having to allocate a register PIC references. We also thus avoid having to allocate a
* window. register window.
*
* VIS instructions are used to facilitate the formation of VIS instructions are used to facilitate the formation of
* easier constants, and the propagation of the sign bit. easier constants, and the propagation of the sign bit. */
*/
#define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */ #define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */
#define ONE_DOT_ZERO 0x3f800000 /* 1.0 */ #define ONE_DOT_ZERO 0x3f800000 /* 1.0 */

View File

@@ -20,13 +20,12 @@
#include <sysdep.h> #include <sysdep.h>
/* We pop constants into the FPU registers using the incoming /* We pop constants into the FPU registers using the incoming
* argument stack slots, since this avoid having to use any PIC argument stack slots, since this avoid having to use any PIC
* references. We also thus avoid having to allocate a register references. We also thus avoid having to allocate a register
* window. window.
*
* VIS instructions are used to facilitate the formation of VIS instructions are used to facilitate the formation of
* easier constants, and the propagation of the sign bit. easier constants, and the propagation of the sign bit. */
*/
#define TWO_FIFTYTWO 0x43300000 /* 2**52 */ #define TWO_FIFTYTWO 0x43300000 /* 2**52 */

View File

@@ -20,13 +20,12 @@
#include <sysdep.h> #include <sysdep.h>
/* We pop constants into the FPU registers using the incoming /* We pop constants into the FPU registers using the incoming
* argument stack slots, since this avoid having to use any PIC argument stack slots, since this avoid having to use any PIC
* references. We also thus avoid having to allocate a register references. We also thus avoid having to allocate a register
* window. window.
*
* VIS instructions are used to facilitate the formation of VIS instructions are used to facilitate the formation of
* easier constants, and the propagation of the sign bit. easier constants, and the propagation of the sign bit. */
*/
#define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */ #define TWO_TWENTYTHREE 0x4b000000 /* 2**23 */