aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64/strcat.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/strcat.S')
-rw-r--r--sysdeps/sparc/sparc64/strcat.S22
1 files changed, 11 insertions, 11 deletions
diff --git a/sysdeps/sparc/sparc64/strcat.S b/sysdeps/sparc/sparc64/strcat.S
index 3bb27a915f..85954a2103 100644
--- a/sysdeps/sparc/sparc64/strcat.S
+++ b/sysdeps/sparc/sparc64/strcat.S
@@ -1,6 +1,6 @@
/* strcat (dest, src) -- Append SRC on the end of DEST.
For SPARC v9.
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jj@ultra.linux.cz> and
Jan Vondrak <jvon4518@ss1000.ms.mff.cuni.cz>.
@@ -27,7 +27,7 @@
#define USE_BPR
.register %g2, #scratch
.register %g3, #scratch
- .register %g7, #scratch
+ .register %g6, #scratch
#endif
/* Normally, this uses
@@ -52,7 +52,7 @@ ENTRY(strcat)
sethi %hi(0x01010101), %g1 /* IEU0 Group */
ldub [%o0], %o3 /* Load */
or %g1, %lo(0x01010101), %g1 /* IEU0 Group */
- mov %o0, %g7 /* IEU1 */
+ mov %o0, %g6 /* IEU1 */
sllx %g1, 32, %g2 /* IEU0 Group */
andcc %o0, 7, %g0 /* IEU1 */
@@ -192,7 +192,7 @@ ENTRY(strcat)
bne,pt %icc, 3b /* CTI */
mov %o3, %g3 /* IEU0 Group */
4: retl /* CTI+IEU1 Group */
- mov %g7, %o0 /* IEU0 */
+ mov %g6, %o0 /* IEU0 */
.align 16
5: stb %g5, [%o0 - 2] /* Store Group */
@@ -202,23 +202,23 @@ ENTRY(strcat)
stw %g4, [%o0 - 8] /* Store Group */
retl /* CTI+IEU1 Group */
- mov %g7, %o0 /* IEU0 */
+ mov %g6, %o0 /* IEU0 */
7: stb %g5, [%o0 - 4] /* Store Group */
srlx %g3, 32, %g4 /* IEU0 */
8: stw %g4, [%o0 - 8] /* Store Group */
retl /* CTI+IEU1 Group */
- mov %g7, %o0 /* IEU0 */
+ mov %g6, %o0 /* IEU0 */
9: stb %g5, [%o0 - 6] /* Store Group */
srlx %g3, 48, %g4 /* IEU0 */
10: sth %g4, [%o0 - 8] /* Store Group */
retl /* CTI+IEU1 Group */
- mov %g7, %o0 /* IEU0 */
+ mov %g6, %o0 /* IEU0 */
11: stb %g5, [%o0 - 8] /* Store Group */
retl /* CTI+IEU1 Group */
- mov %g7, %o0 /* IEU0 */
+ mov %g6, %o0 /* IEU0 */
.align 16
32: andcc %o0, 7, %g0 /* IEU1 Group */
@@ -309,7 +309,7 @@ ENTRY(strcat)
stx %o3, [%o0 - 8] /* Store */
retl /* CTI+IEU1 Group */
- mov %g7, %o0 /* IEU0 */
+ mov %g6, %o0 /* IEU0 */
.align 16
16: srlx %o3, 8, %o4 /* IEU0 Group */
@@ -323,7 +323,7 @@ ENTRY(strcat)
stw %o4, [%o0 - 8] /* Store */
retl /* CTI+IEU1 Group */
- mov %g7, %o0 /* IEU0 */
+ mov %g6, %o0 /* IEU0 */
nop
nop
@@ -335,5 +335,5 @@ ENTRY(strcat)
22: srlx %o3, 56, %o4 /* IEU0 Group */
stb %o4, [%o0 - 8] /* Store */
retl /* CTI+IEU1 Group */
- mov %g7, %o0 /* IEU0 */
+ mov %g6, %o0 /* IEU0 */
END(strcat)