aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64/memset.S
diff options
context:
space:
mode:
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