diff options
author | Roland McGrath <roland@gnu.org> | 2006-03-06 01:34:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-03-06 01:34:09 +0000 |
commit | 043cee3700d01624d694d8e1afc76a666309f89c (patch) | |
tree | aa2f8a2b421429ca84eba888fefd946df6e3d669 /sysdeps/sparc/sparc32/stpcpy.S | |
parent | a26c855c73bf2329496f9b74535045c22c92a12d (diff) | |
download | glibc-043cee3700d01624d694d8e1afc76a666309f89c.tar.gz glibc-043cee3700d01624d694d8e1afc76a666309f89c.tar.xz glibc-043cee3700d01624d694d8e1afc76a666309f89c.zip |
* shlib-versions: Use sparc64.*- for CPU patterns.
Diffstat (limited to 'sysdeps/sparc/sparc32/stpcpy.S')
-rw-r--r-- | sysdeps/sparc/sparc32/stpcpy.S | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sysdeps/sparc/sparc32/stpcpy.S b/sysdeps/sparc/sparc32/stpcpy.S index e6688a9b21..222bc2a445 100644 --- a/sysdeps/sparc/sparc32/stpcpy.S +++ b/sysdeps/sparc/sparc32/stpcpy.S @@ -38,7 +38,13 @@ .text .align 4 -10: ldub [%o1], %o5 + +ENTRY(__stpcpy) + andcc %o1, 3, %g0 + be 20f + sethi %hi(0x80808080), %o4 + + ldub [%o1], %o5 stb %o5, [%o0] cmp %o5, 0 add %o0, 1, %o0 @@ -67,11 +73,7 @@ 1: retl add %o0, -1, %o0 -ENTRY(__stpcpy) - andcc %o1, 3, %g0 - bne 10b - sethi %hi(0x80808080), %o4 - or %o4, %lo(0x80808080), %o3 +20: or %o4, %lo(0x80808080), %o3 4: sethi %hi(0x01010101), %o4 5: or %o4, %lo(0x01010101), %o2 6: andcc %o0, 3, %g0 |