1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Remove trailing whitespace.

This commit is contained in:
Joseph Myers
2013-06-05 20:44:03 +00:00
parent 5556231db2
commit 9c84384cc1
192 changed files with 1185 additions and 991 deletions

View File

@ -175,7 +175,7 @@ _dl_runtime_profile:
cmp %l0, 0
bl 1f
nop
call _dl_profile_invoke
nop

View File

@ -65,7 +65,7 @@ ENTRY(.mul)
bge 1f
rd %y, %o0
! %o0 was indeed negative; fix upper 32 bits of result by subtracting
! %o0 was indeed negative; fix upper 32 bits of result by subtracting
! %o1 (i.e., return %o4 - %o1 in %o1).
retl
sub %o4, %o1, %o1
@ -79,7 +79,7 @@ ENTRY(.mul)
and %o1, %o2, %o2 ! %o2 = 0 or %o1, depending on sign of %o0
rd %y, %o0 ! get lower half of product
retl
sub %o4, %o2, %o1 ! subtract compensation
sub %o4, %o2, %o1 ! subtract compensation
! and put upper half in place
#endif

View File

@ -306,7 +306,7 @@ ENTRY(memcpy) /* %o0=dst %o1=src %o2=len */
mov 32, %g2
be 4f
sub %g2, %g4, %g6
blu 3f
cmp %g3, 0x8
@ -539,7 +539,7 @@ ENTRY(memcpy) /* %o0=dst %o1=src %o2=len */
add %o1, 64, %o1
bne 41b
add %o0, 64, %o0
andcc %o2, 0x30, %o3
be,a 1f
srl %g1, 16, %g2
@ -584,7 +584,7 @@ ENTRY(memcpy) /* %o0=dst %o1=src %o2=len */
add %o1, 64, %o1
bne 42b
add %o0, 64, %o0
andcc %o2, 0x30, %o3
be,a 1f
srl %g1, 16, %g2
@ -598,7 +598,7 @@ ENTRY(memcpy) /* %o0=dst %o1=src %o2=len */
1: sth %g2, [%o0 - 2]
/* Fall through */
88: and %o2, 0xe, %o3
mov %o7, %g2
sll %o3, 3, %o4

View File

@ -181,14 +181,14 @@ LOC(divloop):
subcc %o3,%o5,%o3
b 9f
add %o2, (7*2+1), %o2
LOC(4.23):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (7*2-1), %o2
LOC(3.19):
! remainder is negative
addcc %o3,%o5,%o3
@ -199,15 +199,15 @@ LOC(3.19):
subcc %o3,%o5,%o3
b 9f
add %o2, (5*2+1), %o2
LOC(4.21):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (5*2-1), %o2
LOC(2.17):
! remainder is negative
addcc %o3,%o5,%o3
@ -223,14 +223,14 @@ LOC(2.17):
subcc %o3,%o5,%o3
b 9f
add %o2, (3*2+1), %o2
LOC(4.19):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (3*2-1), %o2
LOC(3.17):
! remainder is negative
addcc %o3,%o5,%o3
@ -241,16 +241,16 @@ LOC(3.17):
subcc %o3,%o5,%o3
b 9f
add %o2, (1*2+1), %o2
LOC(4.17):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (1*2-1), %o2
LOC(1.16):
! remainder is negative
addcc %o3,%o5,%o3
@ -271,14 +271,14 @@ LOC(1.16):
subcc %o3,%o5,%o3
b 9f
add %o2, (-1*2+1), %o2
LOC(4.15):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-1*2-1), %o2
LOC(3.15):
! remainder is negative
addcc %o3,%o5,%o3
@ -289,15 +289,15 @@ LOC(3.15):
subcc %o3,%o5,%o3
b 9f
add %o2, (-3*2+1), %o2
LOC(4.13):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-3*2-1), %o2
LOC(2.15):
! remainder is negative
addcc %o3,%o5,%o3
@ -313,14 +313,14 @@ LOC(2.15):
subcc %o3,%o5,%o3
b 9f
add %o2, (-5*2+1), %o2
LOC(4.11):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-5*2-1), %o2
LOC(3.13):
! remainder is negative
addcc %o3,%o5,%o3
@ -331,16 +331,16 @@ LOC(3.13):
subcc %o3,%o5,%o3
b 9f
add %o2, (-7*2+1), %o2
LOC(4.9):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-7*2-1), %o2
9:
LOC(end_regular_divide):
subcc %o4, 1, %o4

View File

@ -181,14 +181,14 @@ LOC(divloop):
subcc %o3,%o5,%o3
b 9f
add %o2, (7*2+1), %o2
LOC(4.23):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (7*2-1), %o2
LOC(3.19):
! remainder is negative
addcc %o3,%o5,%o3
@ -199,15 +199,15 @@ LOC(3.19):
subcc %o3,%o5,%o3
b 9f
add %o2, (5*2+1), %o2
LOC(4.21):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (5*2-1), %o2
LOC(2.17):
! remainder is negative
addcc %o3,%o5,%o3
@ -223,14 +223,14 @@ LOC(2.17):
subcc %o3,%o5,%o3
b 9f
add %o2, (3*2+1), %o2
LOC(4.19):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (3*2-1), %o2
LOC(3.17):
! remainder is negative
addcc %o3,%o5,%o3
@ -241,16 +241,16 @@ LOC(3.17):
subcc %o3,%o5,%o3
b 9f
add %o2, (1*2+1), %o2
LOC(4.17):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (1*2-1), %o2
LOC(1.16):
! remainder is negative
addcc %o3,%o5,%o3
@ -271,14 +271,14 @@ LOC(1.16):
subcc %o3,%o5,%o3
b 9f
add %o2, (-1*2+1), %o2
LOC(4.15):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-1*2-1), %o2
LOC(3.15):
! remainder is negative
addcc %o3,%o5,%o3
@ -289,15 +289,15 @@ LOC(3.15):
subcc %o3,%o5,%o3
b 9f
add %o2, (-3*2+1), %o2
LOC(4.13):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-3*2-1), %o2
LOC(2.15):
! remainder is negative
addcc %o3,%o5,%o3
@ -313,14 +313,14 @@ LOC(2.15):
subcc %o3,%o5,%o3
b 9f
add %o2, (-5*2+1), %o2
LOC(4.11):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-5*2-1), %o2
LOC(3.13):
! remainder is negative
addcc %o3,%o5,%o3
@ -331,16 +331,16 @@ LOC(3.13):
subcc %o3,%o5,%o3
b 9f
add %o2, (-7*2+1), %o2
LOC(4.9):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-7*2-1), %o2
9:
LOC(end_regular_divide):
subcc %o4, 1, %o4

View File

@ -26,7 +26,7 @@ long double _Q_neg(const long double a)
{
FP_DECL_EX;
long double c = a;
#if (__BYTE_ORDER == __BIG_ENDIAN)
((UWtype *)&c)[0] ^= (((UWtype)1) << (W_TYPE_SIZE - 1));
#elif (__BYTE_ORDER == __LITTLE_ENDIAN) && (W_TYPE_SIZE == 64)

View File

@ -92,13 +92,13 @@ ENTRY(strchr)
#else
sub %g5, %o2, %g5
#endif
or %g5, %o4, %o4
or %g5, %o4, %o4
andcc %o4, %o3, %g0
be 7b
add %o0, 4, %o0
/* Check every byte. */
8: srl %g4, 24, %g5
8: srl %g4, 24, %g5
7: andcc %g5, 0xff, %g5
be 9f
cmp %g5, %o1
@ -243,13 +243,13 @@ ENTRY(strrchr)
#else
sub %g5, %o2, %g5
#endif
or %g5, %o4, %o4
or %g5, %o4, %o4
andcc %o4, %o3, %g0
be 6b
add %o0, 4, %o0
/* Check every byte. */
3: srl %g4, 24, %g5
3: srl %g4, 24, %g5
8: andcc %g5, 0xff, %g5
be 9f
cmp %g5, %o1

View File

@ -168,14 +168,14 @@ LOC(divloop):
subcc %o3,%o5,%o3
b 9f
add %o2, (7*2+1), %o2
LOC(4.23):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (7*2-1), %o2
LOC(3.19):
! remainder is negative
addcc %o3,%o5,%o3
@ -186,15 +186,15 @@ LOC(3.19):
subcc %o3,%o5,%o3
b 9f
add %o2, (5*2+1), %o2
LOC(4.21):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (5*2-1), %o2
LOC(2.17):
! remainder is negative
addcc %o3,%o5,%o3
@ -210,14 +210,14 @@ LOC(2.17):
subcc %o3,%o5,%o3
b 9f
add %o2, (3*2+1), %o2
LOC(4.19):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (3*2-1), %o2
LOC(3.17):
! remainder is negative
addcc %o3,%o5,%o3
@ -228,16 +228,16 @@ LOC(3.17):
subcc %o3,%o5,%o3
b 9f
add %o2, (1*2+1), %o2
LOC(4.17):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (1*2-1), %o2
LOC(1.16):
! remainder is negative
addcc %o3,%o5,%o3
@ -258,14 +258,14 @@ LOC(1.16):
subcc %o3,%o5,%o3
b 9f
add %o2, (-1*2+1), %o2
LOC(4.15):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-1*2-1), %o2
LOC(3.15):
! remainder is negative
addcc %o3,%o5,%o3
@ -276,15 +276,15 @@ LOC(3.15):
subcc %o3,%o5,%o3
b 9f
add %o2, (-3*2+1), %o2
LOC(4.13):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-3*2-1), %o2
LOC(2.15):
! remainder is negative
addcc %o3,%o5,%o3
@ -300,14 +300,14 @@ LOC(2.15):
subcc %o3,%o5,%o3
b 9f
add %o2, (-5*2+1), %o2
LOC(4.11):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-5*2-1), %o2
LOC(3.13):
! remainder is negative
addcc %o3,%o5,%o3
@ -318,16 +318,16 @@ LOC(3.13):
subcc %o3,%o5,%o3
b 9f
add %o2, (-7*2+1), %o2
LOC(4.9):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-7*2-1), %o2
9:
LOC(end_regular_divide):
subcc %o4, 1, %o4

View File

@ -168,14 +168,14 @@ LOC(divloop):
subcc %o3,%o5,%o3
b 9f
add %o2, (7*2+1), %o2
LOC(4.23):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (7*2-1), %o2
LOC(3.19):
! remainder is negative
addcc %o3,%o5,%o3
@ -186,15 +186,15 @@ LOC(3.19):
subcc %o3,%o5,%o3
b 9f
add %o2, (5*2+1), %o2
LOC(4.21):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (5*2-1), %o2
LOC(2.17):
! remainder is negative
addcc %o3,%o5,%o3
@ -210,14 +210,14 @@ LOC(2.17):
subcc %o3,%o5,%o3
b 9f
add %o2, (3*2+1), %o2
LOC(4.19):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (3*2-1), %o2
LOC(3.17):
! remainder is negative
addcc %o3,%o5,%o3
@ -228,16 +228,16 @@ LOC(3.17):
subcc %o3,%o5,%o3
b 9f
add %o2, (1*2+1), %o2
LOC(4.17):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (1*2-1), %o2
LOC(1.16):
! remainder is negative
addcc %o3,%o5,%o3
@ -258,14 +258,14 @@ LOC(1.16):
subcc %o3,%o5,%o3
b 9f
add %o2, (-1*2+1), %o2
LOC(4.15):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-1*2-1), %o2
LOC(3.15):
! remainder is negative
addcc %o3,%o5,%o3
@ -276,15 +276,15 @@ LOC(3.15):
subcc %o3,%o5,%o3
b 9f
add %o2, (-3*2+1), %o2
LOC(4.13):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-3*2-1), %o2
LOC(2.15):
! remainder is negative
addcc %o3,%o5,%o3
@ -300,14 +300,14 @@ LOC(2.15):
subcc %o3,%o5,%o3
b 9f
add %o2, (-5*2+1), %o2
LOC(4.11):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-5*2-1), %o2
LOC(3.13):
! remainder is negative
addcc %o3,%o5,%o3
@ -318,16 +318,16 @@ LOC(3.13):
subcc %o3,%o5,%o3
b 9f
add %o2, (-7*2+1), %o2
LOC(4.9):
! remainder is negative
addcc %o3,%o5,%o3
b 9f
add %o2, (-7*2-1), %o2
9:
LOC(end_regular_divide):
subcc %o4, 1, %o4

View File

@ -1,6 +1,6 @@
/* SPARC v9 __mpn_add_n -- Add two limb vectors of the same length > 0 and
store sum in a third limb vector.
Copyright (C) 1995-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.

View File

@ -385,7 +385,7 @@ ENTRY(memcpy)
210:
#ifndef USE_BPR
srl %o2, 0, %o2 /* IEU1 */
#endif
#endif
brz,pn %o2, 209b /* CTI Group */
218: cmp %o2, 15 /* IEU1 */
bleu,pn %xcc, 208b /* CTI Group */

View File

@ -57,7 +57,7 @@ ENTRY(__rawmemchr)
sethi %hi(0x01010101), %g1 /* IEU1 */
ldub [%o0], %o3 /* Load */
sll %o1, 8, %o4 /* IEU0 Group */
or %g1, %lo(0x01010101), %g1 /* IEU1 */
sllx %g1, 32, %g2 /* IEU0 Group */
or %o4, %o1, %o4 /* IEU1 */

View File

@ -26,7 +26,7 @@
* arg = x*2^exp.
* If arg is inf, 0.0, or NaN, then frexpl(arg,&exp) returns arg
* with *exp=0.
*/
*/
#include "soft-fp.h"
#include "quad.h"

View File

@ -19,7 +19,7 @@
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
#include <fpu_control.h>
#include <fenv.h>
#include <stdlib.h>
@ -38,7 +38,7 @@ do { \
#ifndef _FP_MUL_MEAT_RESET_FE
#define _FP_MUL_MEAT_RESET_FE _FPU_SETCW(_fcw)
#endif
#define _FP_MUL_MEAT_S(R,X,Y) \
_FP_MUL_MEAT_1_imm(_FP_WFRACBITS_S,R,X,Y)
#define _FP_MUL_MEAT_D(R,X,Y) \
@ -140,6 +140,6 @@ do { \
#define QP_NO_EXCEPTIONS \
__asm ("fzero %%f62\n\t" \
"faddd %%f62, %%f62, %%f62" : : : "f62")
#define QP_CLOBBER "memory", "f52", "f54", "f56", "f58", "f60", "f62"
#define QP_CLOBBER_CC QP_CLOBBER , "cc"

View File

@ -1,4 +1,4 @@
/* stpncpy(DST, SRC, COUNT) - Copy no more than N characters of
/* stpncpy(DST, SRC, COUNT) - Copy no more than N characters of
SRC to DEST, returning the address of the terminating '\0' in
DEST, if any, or else DEST + N.
For SPARC v9.
@ -245,7 +245,7 @@ ENTRY(__stpncpy)
be,pn %XCC, 19f /* CTI */
srlx %o3, 8, %o3 /* IEU0 Group */
stb %o3, [%o0] /* Store */
stb %o3, [%o0] /* Store */
59: add %o0, 1, %o2 /* IEU1 */
andcc %o3, 0xff, %g0 /* IEU1 Group */

View File

@ -1,5 +1,5 @@
/* Compare no more than N characters of S1 and S2, returning less than,
equal to or greater than zero if S1 is lexicographically less than,
/* Compare no more than N characters of S1 and S2, returning less than,
equal to or greater than zero if S1 is lexicographically less than,
equal to or greater than S2.
For SPARC v9.
Copyright (C) 1997-2013 Free Software Foundation, Inc.
@ -140,7 +140,7 @@ ENTRY(strncmp)
cmp %o2, -8 /* IEU1 */
be,pn %XCC, 4b /* CTI */
srlx %o3, 56, %o5 /* IEU0 Group */
andcc %o4, 0xff, %g0 /* IEU1 */
be,pn %xcc, 8f /* CTI */
subcc %o4, %o5, %o4 /* IEU1 Group */

View File

@ -227,7 +227,7 @@ ENTRY(strncpy)
subcc %o2, 1, %o2 /* IEU1 */
be,pn %XCC, 19f /* CTI */
srlx %o3, 16, %g5 /* IEU0 Group */
andcc %g5, 0xff, %g0 /* IEU1 Group */
be,pn %icc, 20f /* CTI */
stb %g5, [%o0] /* Store */
@ -236,7 +236,7 @@ ENTRY(strncpy)
subcc %o2, 1, %o2 /* IEU1 */
be,pn %XCC, 19f /* CTI */
srlx %o3, 8, %g5 /* IEU0 Group */
stb %g5, [%o0] /* Store */
stb %g5, [%o0] /* Store */
19: retl /* CTI+IEU1 Group */
mov %g6, %o0 /* IEU0 */