mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 20:21:07 +00:00
d4cc385c6e
Since wcsnlen.S uses pminud which is the part of SSE4.1, move wcsnlen.S to multiarch/wcsnlen-sse4_1.S. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add wcsnlen-sse4_1 and wcsnlen-c. * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and __wcsnlen_sse2. * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file. * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise. * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise. * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise. * sysdeps/x86_64/wcsnlen.S: Removed.
10 lines
149 B
C
10 lines
149 B
C
#if IS_IN (libc)
|
|
# include <wchar.h>
|
|
|
|
# define WCSNLEN __wcsnlen_sse2
|
|
|
|
extern __typeof (wcsnlen) __wcsnlen_sse2;
|
|
#endif
|
|
|
|
#include "wcsmbs/wcsnlen.c"
|