diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-05 20:44:03 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-05 20:44:03 +0000 |
commit | 9c84384cc18ff589233628c193953ca8d7a39f5c (patch) | |
tree | 95d1f5aee409b208db7545d678012eeae9559fae /sysdeps/sparc | |
parent | 5556231db2301917cd14a7450de4eba2368c9763 (diff) | |
download | glibc-9c84384cc18ff589233628c193953ca8d7a39f5c.zip glibc-9c84384cc18ff589233628c193953ca8d7a39f5c.tar.gz glibc-9c84384cc18ff589233628c193953ca8d7a39f5c.tar.bz2 |
Remove trailing whitespace.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r-- | sysdeps/sparc/sparc32/dl-trampoline.S | 2 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/dotmul.S | 4 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/memcpy.S | 8 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/rem.S | 60 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/sdiv.S | 60 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/soft-fp/q_neg.c | 2 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/strchr.S | 8 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/udiv.S | 60 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/urem.S | 60 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/add_n.S | 2 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/memcpy.S | 2 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/rawmemchr.S | 2 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/soft-fp/s_frexpl.c | 2 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/soft-fp/sfp-machine.h | 6 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/stpncpy.S | 4 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/strncmp.S | 6 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/strncpy.S | 4 |
17 files changed, 146 insertions, 146 deletions
diff --git a/sysdeps/sparc/sparc32/dl-trampoline.S b/sysdeps/sparc/sparc32/dl-trampoline.S index 723c4f0..2599cd7 100644 --- a/sysdeps/sparc/sparc32/dl-trampoline.S +++ b/sysdeps/sparc/sparc32/dl-trampoline.S @@ -175,7 +175,7 @@ _dl_runtime_profile: cmp %l0, 0 bl 1f nop - + call _dl_profile_invoke nop diff --git a/sysdeps/sparc/sparc32/dotmul.S b/sysdeps/sparc/sparc32/dotmul.S index 821aa8b..d497ca6 100644 --- a/sysdeps/sparc/sparc32/dotmul.S +++ b/sysdeps/sparc/sparc32/dotmul.S @@ -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 diff --git a/sysdeps/sparc/sparc32/memcpy.S b/sysdeps/sparc/sparc32/memcpy.S index 98536fb..d8fbd2e 100644 --- a/sysdeps/sparc/sparc32/memcpy.S +++ b/sysdeps/sparc/sparc32/memcpy.S @@ -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 diff --git a/sysdeps/sparc/sparc32/rem.S b/sysdeps/sparc/sparc32/rem.S index effacee..349d7c0 100644 --- a/sysdeps/sparc/sparc32/rem.S +++ b/sysdeps/sparc/sparc32/rem.S @@ -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 diff --git a/sysdeps/sparc/sparc32/sdiv.S b/sysdeps/sparc/sparc32/sdiv.S index 4b32547..d1d4ee3 100644 --- a/sysdeps/sparc/sparc32/sdiv.S +++ b/sysdeps/sparc/sparc32/sdiv.S @@ -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 diff --git a/sysdeps/sparc/sparc32/soft-fp/q_neg.c b/sysdeps/sparc/sparc32/soft-fp/q_neg.c index 3101555..551c408 100644 --- a/sysdeps/sparc/sparc32/soft-fp/q_neg.c +++ b/sysdeps/sparc/sparc32/soft-fp/q_neg.c @@ -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) diff --git a/sysdeps/sparc/sparc32/strchr.S b/sysdeps/sparc/sparc32/strchr.S index 9dafe83..f80e77b 100644 --- a/sysdeps/sparc/sparc32/strchr.S +++ b/sysdeps/sparc/sparc32/strchr.S @@ -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 diff --git a/sysdeps/sparc/sparc32/udiv.S b/sysdeps/sparc/sparc32/udiv.S index 0dd48f3..8dfff66 100644 --- a/sysdeps/sparc/sparc32/udiv.S +++ b/sysdeps/sparc/sparc32/udiv.S @@ -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 diff --git a/sysdeps/sparc/sparc32/urem.S b/sysdeps/sparc/sparc32/urem.S index 5644e7a..d3a1a44 100644 --- a/sysdeps/sparc/sparc32/urem.S +++ b/sysdeps/sparc/sparc32/urem.S @@ -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 diff --git a/sysdeps/sparc/sparc64/add_n.S b/sysdeps/sparc/sparc64/add_n.S index 154ffe3..ce0fcb8 100644 --- a/sysdeps/sparc/sparc64/add_n.S +++ b/sysdeps/sparc/sparc64/add_n.S @@ -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. diff --git a/sysdeps/sparc/sparc64/memcpy.S b/sysdeps/sparc/sparc64/memcpy.S index 7e03d78..3d8ffcc 100644 --- a/sysdeps/sparc/sparc64/memcpy.S +++ b/sysdeps/sparc/sparc64/memcpy.S @@ -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 */ diff --git a/sysdeps/sparc/sparc64/rawmemchr.S b/sysdeps/sparc/sparc64/rawmemchr.S index aafc476..cc36c58 100644 --- a/sysdeps/sparc/sparc64/rawmemchr.S +++ b/sysdeps/sparc/sparc64/rawmemchr.S @@ -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 */ diff --git a/sysdeps/sparc/sparc64/soft-fp/s_frexpl.c b/sysdeps/sparc/sparc64/soft-fp/s_frexpl.c index 35bc552..c34fb13 100644 --- a/sysdeps/sparc/sparc64/soft-fp/s_frexpl.c +++ b/sysdeps/sparc/sparc64/soft-fp/s_frexpl.c @@ -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" diff --git a/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h b/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h index 562fdfc..f64a4be 100644 --- a/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h +++ b/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h @@ -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" diff --git a/sysdeps/sparc/sparc64/stpncpy.S b/sysdeps/sparc/sparc64/stpncpy.S index 4f3ad27..e01ad4e 100644 --- a/sysdeps/sparc/sparc64/stpncpy.S +++ b/sysdeps/sparc/sparc64/stpncpy.S @@ -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 */ diff --git a/sysdeps/sparc/sparc64/strncmp.S b/sysdeps/sparc/sparc64/strncmp.S index d2e1d46..22673ec 100644 --- a/sysdeps/sparc/sparc64/strncmp.S +++ b/sysdeps/sparc/sparc64/strncmp.S @@ -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 */ diff --git a/sysdeps/sparc/sparc64/strncpy.S b/sysdeps/sparc/sparc64/strncpy.S index d0c30c0..74fd275 100644 --- a/sysdeps/sparc/sparc64/strncpy.S +++ b/sysdeps/sparc/sparc64/strncpy.S @@ -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 */ |