mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-28 05:21:13 +00:00
14a50c9d23
Assorted tweaking, twisting and tuning to squeeze a few additional cycles out of the memchr code. Changes include bypassing the shift pairs (sld,srd) when they are not required, and unrolling the small_loop that handles short and trailing strings. Per scrollpipe data measuring aligned strings for 64-bit, these changes save between five and eight cycles (9-13% overall) for short strings (<32), Longer aligned strings see slight improvement of 1-3% due to bypassing the shifts and the instruction rearranging. |
||
---|---|---|
.. | ||
fpu | ||
Implies | ||
Makefile | ||
memchr.S | ||
memcmp.S | ||
memcpy.S | ||
mempcpy.S | ||
memrchr.S | ||
memset.S | ||
rawmemchr.S | ||
strcasecmp_l.S | ||
strcasecmp.S | ||
strchr.S | ||
strchrnul.S | ||
strlen.S | ||
strncmp.S | ||
strnlen.S |