mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
i386: Use generic memrchr in libc (bug 31316)
Before this change, we incorrectly used the SSE2 variant in the implementation, without checking that the system actually supports SSE2. Tested-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
ef7f4b1fef
commit
0d9166c224
@ -5,3 +5,4 @@ extern void *__memrchr_ia32 (const void *, int, size_t);
|
||||
#endif
|
||||
|
||||
#include "string/memrchr.c"
|
||||
strong_alias (__memrchr_ia32, __GI___memrchr)
|
||||
|
@ -720,5 +720,4 @@ L(ret_null):
|
||||
ret
|
||||
|
||||
END (__memrchr_sse2)
|
||||
strong_alias (__memrchr_sse2, __GI___memrchr)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user