about summary refs log tree commit diff
path: root/localedata/tst-setlocale2.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2018-03-06 19:22:39 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2018-03-06 19:22:40 +0530
commit30a81dae5b752f8aa5f96e7f7c341ec57cba3585 (patch)
treef991950610e09e999bcc17047c3dbec2c278bfc4 /localedata/tst-setlocale2.c
parentadc95fb06a22264349de21507de1a7e652a4052d (diff)
downloadglibc-30a81dae5b752f8aa5f96e7f7c341ec57cba3585.tar.gz
glibc-30a81dae5b752f8aa5f96e7f7c341ec57cba3585.tar.xz
glibc-30a81dae5b752f8aa5f96e7f7c341ec57cba3585.zip
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.
Diffstat (limited to 'localedata/tst-setlocale2.c')
0 files changed, 0 insertions, 0 deletions