projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f5831b
)
Little optimization.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 9 Feb 2001 05:27:34 +0000
(
05:27
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 9 Feb 2001 05:27:34 +0000
(
05:27
+0000)
sysdeps/alpha/strrchr.S
patch
|
blob
|
history
diff --git
a/sysdeps/alpha/strrchr.S
b/sysdeps/alpha/strrchr.S
index
9997961
..
0faa8cc
100644
(file)
--- a/
sysdeps/alpha/strrchr.S
+++ b/
sysdeps/alpha/strrchr.S
@@
-39,7
+39,7
@@
ENTRY(strrchr)
.prologue 0
#endif
-
zapnot a1, 1, a1
# e0 : zero extend our test character
+
and a1, 0xff, a1
# e0 : zero extend our test character
mov zero, t6 # .. e1 : t6 is last match aligned addr
sll a1, 8, t5 # e0 : replicate our test character
mov zero, t7 # .. e1 : t7 is last match byte compare mask