Little optimization.
authorUlrich Drepper <drepper@redhat.com>
Fri, 9 Feb 2001 05:27:34 +0000 (05:27 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 9 Feb 2001 05:27:34 +0000 (05:27 +0000)
sysdeps/alpha/strrchr.S

index 9997961..0faa8cc 100644 (file)
@@ -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