glibc/sysdeps
H.J. Lu 30cb625a21 x86-64: Update strlen.S to support wcslen/wcsnlen
The difference between strlen and wcslen is byte vs int.  We can
replace pminub and pcmpeqb with pminud and pcmpeqd to turn strlen
into wcslen.

	* sysdeps/x86_64/strlen.S (PMINU): New.
	(PCMPEQ): Likewise.
	(SHIFT_RETURN): Likewise.
	(FIND_ZERO): Replace pcmpeqb with PCMPEQ.
	(strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
	pminub with PCMPEQ and PMINU.
	* sysdeps/x86_64/wcsnlen.S: New file.
2017-06-05 07:58:23 -07:00
..
aarch64 aarch64: Thunderx specific memcpy and memmove 2017-05-24 16:46:48 -07:00
alpha Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
arm Fix more namespace issues in sys/ucontext.h (bug 21457). 2017-06-01 14:07:40 +00:00
generic Fix sys/ucontext.h namespace from signal.h etc. inclusion (bug 21457). 2017-05-23 11:49:48 +00:00
gnu Regenerate sysdeps/gnu/errlist.c. 2017-06-04 15:27:14 -04:00
hppa Remove wrong definitions from pthread header refactor 2017-05-11 10:46:03 -03:00
i386 Fix more namespace issues in sys/ucontext.h (bug 21457). 2017-06-01 14:07:40 +00:00
ia64 Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
ieee754 float128: Add wrappers to override ldbl-128 as float128. 2017-05-25 09:01:37 -03:00
init_array Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
m68k Fix more namespace issues in sys/ucontext.h (bug 21457). 2017-06-01 14:07:40 +00:00
mach Fix struct sigaltstack namespace (bug 21517). 2017-06-05 10:17:46 +00:00
microblaze Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
mips Fix more namespace issues in sys/ucontext.h (bug 21457). 2017-06-01 14:07:40 +00:00
nios2 Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
nptl fork: Remove bogus parent PID assertions [BZ #21386] 2017-05-12 16:04:16 +02:00
posix getaddrinfo: Eliminate another strdup call 2017-06-03 08:37:31 +02:00
powerpc Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
pthread Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
s390 Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
sh Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
sparc Remove useless comment from sysdeps/sparc/sparc32/dl-machine.h 2017-05-23 01:10:29 +05:30
tile Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
unix x86-64: Update LO_HI_LONG for p{readv,writev}{64}v2 2017-06-05 07:21:57 -07:00
wordsize-32 Build divdi3 only for architecture that required it 2017-04-06 15:14:34 -03:00
wordsize-64 Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
x86 x86: Update __x86_shared_non_temporal_threshold 2017-06-02 17:32:37 -07:00
x86_64 x86-64: Update strlen.S to support wcslen/wcsnlen 2017-06-05 07:58:23 -07:00