aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64/memset.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-18 10:00:20 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-18 10:00:20 +0000
commit407d26b7053a659c5997cb44e85824647139b884 (patch)
tree7f442602b80281f7479a20364340cef058575c1e /sysdeps/sparc/sparc64/memset.S
parent1acf7665c7b5f1d65b322de82065c4eaec623afe (diff)
downloadglibc-407d26b7053a659c5997cb44e85824647139b884.tar
glibc-407d26b7053a659c5997cb44e85824647139b884.tar.gz
glibc-407d26b7053a659c5997cb44e85824647139b884.tar.bz2
glibc-407d26b7053a659c5997cb44e85824647139b884.zip
Update.
1999-05-18 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc64/rawmemchr.S: New file. * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file. * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument contains garbage in bits 8-63. * sysdeps/sparc/sparc64/memset.S: Ditto. * sysdeps/sparc/sparc64/strchr.S: Ditto.
Diffstat (limited to 'sysdeps/sparc/sparc64/memset.S')
-rw-r--r--sysdeps/sparc/sparc64/memset.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/sparc/sparc64/memset.S b/sysdeps/sparc/sparc64/memset.S
index 8106a5c999..c2b23647f5 100644
--- a/sysdeps/sparc/sparc64/memset.S
+++ b/sysdeps/sparc/sparc64/memset.S
@@ -38,11 +38,9 @@
.text
.align 32
ENTRY(memset)
-#ifndef USE_BPR
- srl %o1, 0, %o1
+ andcc %o1, 0xff, %o1
mov %o0, %g3
-#endif
- brz,a,pt %o1, 50f
+ be,a,pt %icc, 50f
#ifndef USE_BPR
srl %o2, 0, %o1
#else