mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Optimized memchr, memrchr, rawmemchr for x86-32
This commit is contained in:
committed by
Ulrich Drepper
parent
0ac5ae2335
commit
951fbcec70
@ -63,7 +63,12 @@
|
||||
|
||||
/* Search no more than N bytes of S for C. */
|
||||
__ptr_t
|
||||
__memrchr (s, c_in, n)
|
||||
#ifndef MEMRCHR
|
||||
__memrchr
|
||||
#else
|
||||
MEMRCHR
|
||||
#endif
|
||||
(s, c_in, n)
|
||||
const __ptr_t s;
|
||||
int c_in;
|
||||
size_t n;
|
||||
@ -205,6 +210,8 @@ __memrchr (s, c_in, n)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#ifdef weak_alias
|
||||
#ifndef MEMRCHR
|
||||
# ifdef weak_alias
|
||||
weak_alias (__memrchr, memrchr)
|
||||
# endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user