mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
70c97f8493
The tail of the copy loops are unable to train the falkor hardware prefetcher because they load from a different base compared to the hot loop. In this case avoid serializing the instructions by loading them into different registers. Also peel the last iteration of the loop into the tail (and have them use different registers) since it gives better performance for medium sizes. This results in performance improvements of between 3% and 20% over the current falkor implementation for sizes between 128 bytes and 1K on the memmove-walk benchmark, thus mostly covering the regressions seen against the generic memmove. * sysdeps/aarch64/multiarch/memmove_falkor.S (__memmove_falkor): Use multiple registers to move data in loop tail. |
||
---|---|---|
.. | ||
ifunc-impl-list.c | ||
init-arch.h | ||
Makefile | ||
memcpy_falkor.S | ||
memcpy_generic.S | ||
memcpy_thunderx2.S | ||
memcpy_thunderx.S | ||
memcpy.c | ||
memmove_falkor.S | ||
memmove.c | ||
memset_falkor.S | ||
memset_generic.S | ||
memset.c | ||
rtld-memset.S |