glibc/sysdeps
Siddhesh Poyarekar ec4512194f aarch64: Optimized memcmp for medium to large sizes
This improved memcmp provides a fast path for compares up to 16 bytes
and then compares 16 bytes at a time, thus optimizing loads from both
sources.  The glibc memcmp microbenchmark retains performance (with an
error of ~1ns) for smaller compare sizes and reduces up to 31% of
execution time for compares up to 4K on the APM Mustang.  On Qualcomm
Falkor this improves to almost 48%, i.e. it is almost 2x improvement
for sizes of 2K and above.

	* sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
	time.

(cherry picked from commit 30a81dae5b)
2019-09-06 16:33:04 +01:00
..
aarch64 aarch64: Optimized memcmp for medium to large sizes 2019-09-06 16:33:04 +01:00
alpha nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
arm nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
generic posix: Fix large mmap64 offset for mips64n32 (BZ#24699) 2019-07-12 19:02:04 +00:00
gnu utmp: Avoid -Wstringop-truncation warning 2018-10-22 14:00:13 +02:00
hppa nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
i386 Fix i386 memmove issue (bug 22644). 2018-05-17 13:58:22 +02:00
ia64 ia64: Fix memchr for large input sizes (BZ #22603) 2018-01-10 21:56:05 +01:00
ieee754 Remove conditional on LDBL_MANT_DIG from e_lgammal_r.c 2017-10-10 10:15:16 -03:00
init_array Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
m68k nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
mach Remove __need macros from errno.h (__need_Emath, __need_error_t). 2017-06-14 08:14:34 -04:00
microblaze nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
mips nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
nios2 nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
nptl Fix blocking pthread_join. [BZ #23137] 2018-05-17 14:05:51 +02:00
posix preadv2/pwritev2: Handle offset == -1 [BZ #22753] 2018-09-28 15:16:02 -03:00
powerpc powerpc: Regenerate ULPs 2019-01-11 14:14:10 -02:00
pthread Single threaded stdio optimization 2017-07-04 16:05:12 +01:00
s390 nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
sh nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
sparc Fix TLS relocations against local symbols on powerpc32, sparc32 and sparc64 2017-11-14 21:07:52 +01:00
tile nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 11:03:01 -02:00
unix posix: Fix large mmap64 offset for mips64n32 (BZ#24699) 2019-07-12 19:02:04 +00:00
wordsize-32 Build divdi3 only for architecture that required it 2017-04-06 15:14:34 -03:00
wordsize-64 posix: Consolidate Linux glob implementation 2017-10-30 11:49:40 +01:00
x86 x86: Fix Haswell CPU string flags (BZ#23709) 2018-11-02 11:14:05 +01:00
x86_64 x86-64 memcmp: Use unsigned Jcc instructions on size [BZ #24155] 2019-02-04 10:27:37 -08:00