aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-04-15 18:12:25 +0000
committerRichard Henderson <rth@redhat.com>1999-04-15 18:12:25 +0000
commit5d15fc5c3597cfaac178814941662b6f8d015804 (patch)
tree35590a91dcb801d495ba9aa7286a8f412ef2589e /sysdeps/sparc
parent080f7c580f39ccaa784462a0d278118419b14828 (diff)
downloadglibc-5d15fc5c3597cfaac178814941662b6f8d015804.zip
glibc-5d15fc5c3597cfaac178814941662b6f8d015804.tar.gz
glibc-5d15fc5c3597cfaac178814941662b6f8d015804.tar.bz2
* sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1999-04-15 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. * sysdeps/sparc/sparc32/strcpy.S: Likewise.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/strcat.S12
-rw-r--r--sysdeps/sparc/sparc32/strcpy.S12
2 files changed, 12 insertions, 12 deletions
diff --git a/sysdeps/sparc/sparc32/strcat.S b/sysdeps/sparc/sparc32/strcat.S
index d901087..825a88d 100644
--- a/sysdeps/sparc/sparc32/strcat.S
+++ b/sysdeps/sparc/sparc32/strcat.S
@@ -183,7 +183,7 @@ ENTRY(strcat)
srl %o5, 8, %g5
sth %g5, [%o0 + 2]
1: add %o0, 4, %o0
-4: sll %o5, 24, %g6
+4: sll %o5, 24, %g7
ld [%o1], %o5
add %o1, 4, %o1
srl %o5, 8, %g5
@@ -191,7 +191,7 @@ ENTRY(strcat)
#ifdef EIGHTBIT_NOT_RARE
andn %o4, %o5, %o4
#endif
- or %g5, %g6, %g5
+ or %g5, %g7, %g5
andcc %o4, %o3, %g0
be,a 1b
st %g5, [%o0]
@@ -249,7 +249,7 @@ ENTRY(strcat)
sth %g5, [%o0]
sub %o0, 2, %o0
1: add %o0, 4, %o0
-4: sll %o5, 16, %g6
+4: sll %o5, 16, %g7
ld [%o1], %o5
add %o1, 4, %o1
srl %o5, 16, %g5
@@ -257,7 +257,7 @@ ENTRY(strcat)
#ifdef EIGHTBIT_NOT_RARE
andn %o4, %o5, %o4
#endif
- or %g5, %g6, %g5
+ or %g5, %g7, %g5
andcc %o4, %o3, %g0
be,a 1b
st %g5, [%o0]
@@ -305,7 +305,7 @@ ENTRY(strcat)
stb %g5, [%o0]
sub %o0, 3, %o0
1: add %o0, 4, %o0
-4: sll %o5, 8, %g6
+4: sll %o5, 8, %g7
ld [%o1], %o5
add %o1, 4, %o1
srl %o5, 24, %g5
@@ -313,7 +313,7 @@ ENTRY(strcat)
#ifdef EIGHTBIT_NOT_RARE
andn %o4, %o5, %o4
#endif
- or %g5, %g6, %g5
+ or %g5, %g7, %g5
andcc %o4, %o3, %g0
be 1b
st %g5, [%o0]
diff --git a/sysdeps/sparc/sparc32/strcpy.S b/sysdeps/sparc/sparc32/strcpy.S
index e376bb4..81158e4 100644
--- a/sysdeps/sparc/sparc32/strcpy.S
+++ b/sysdeps/sparc/sparc32/strcpy.S
@@ -125,12 +125,12 @@ ENTRY(strcpy)
srl %o5, 8, %g5
sth %g5, [%o0 + 2]
1: add %o0, 4, %o0
-4: sll %o5, 24, %g6
+4: sll %o5, 24, %g7
ld [%o1], %o5
add %o1, 4, %o1
srl %o5, 8, %g5
sub %o5, %o2, %o4
- or %g5, %g6, %g5
+ or %g5, %g7, %g5
andcc %o4, %o3, %g0
be,a 1b
st %g5, [%o0]
@@ -184,12 +184,12 @@ ENTRY(strcpy)
sth %g5, [%o0]
sub %o0, 2, %o0
1: add %o0, 4, %o0
-4: sll %o5, 16, %g6
+4: sll %o5, 16, %g7
ld [%o1], %o5
add %o1, 4, %o1
srl %o5, 16, %g5
sub %o5, %o2, %o4
- or %g5, %g6, %g5
+ or %g5, %g7, %g5
andcc %o4, %o3, %g0
be,a 1b
st %g5, [%o0]
@@ -234,12 +234,12 @@ ENTRY(strcpy)
stb %g5, [%o0]
sub %o0, 3, %o0
1: add %o0, 4, %o0
-4: sll %o5, 8, %g6
+4: sll %o5, 8, %g7
ld [%o1], %o5
add %o1, 4, %o1
srl %o5, 24, %g5
sub %o5, %o2, %o4
- or %g5, %g6, %g5
+ or %g5, %g7, %g5
andcc %o4, %o3, %g0
be 1b
st %g5, [%o0]