mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
Fix comment formatting in new optimized sparc math files.
This commit is contained in:
parent
0e7727f71d
commit
d674b76d0e
11
ChangeLog
11
ChangeLog
@ -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>
|
||||
|
||||
* configure.in (CC): Restrict allowed GCC versions to 4.3 and
|
||||
|
@ -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_FIFTYTWO 0x43300000 /* 2**52 */
|
||||
#define ONE_DOT_ZERO 0x3ff00000 /* 1.0 */
|
||||
|
@ -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 */
|
||||
|
@ -20,13 +20,12 @@
|
||||
#include <sysdep.h>
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
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_FIFTYTWO 0x43300000 /* 2**52 */
|
||||
|
||||
|
@ -20,13 +20,12 @@
|
||||
#include <sysdep.h>
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
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 */
|
||||
|
||||
|
@ -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_FIFTYTWO 0x43300000 /* 2**52 */
|
||||
#define ONE_DOT_ZERO 0x3ff00000 /* 1.0 */
|
||||
|
@ -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 */
|
||||
|
@ -20,13 +20,12 @@
|
||||
#include <sysdep.h>
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
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_FIFTYTWO 0x43300000 /* 2**52 */
|
||||
|
||||
|
@ -20,13 +20,12 @@
|
||||
#include <sysdep.h>
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user