summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2016-12-14 13:16:13 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2016-12-14 13:16:13 +0000
commit3038145ca2355d8fde8c21448961c1be1ed5c287 (patch)
treefcbe619ce20177170d7b6b3b69e2b5e44f1ba27a /ChangeLog
parente370991e26e44e181bc5a8145047b7ca8d08d86c (diff)
downloadglibc-3038145ca2355d8fde8c21448961c1be1ed5c287.tar.gz
glibc-3038145ca2355d8fde8c21448961c1be1ed5c287.tar.xz
glibc-3038145ca2355d8fde8c21448961c1be1ed5c287.zip
Improve generic rawmemchr for targets that don't have an
assembler version by tailcalling memchr with the maximum size.
If a target has an optimized memchr this is significantly faster,
if not, then this makes little difference.
Also optimize the special case of zero to use strlen as this is
typically faster than memchr.

	* string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 25b50c3ea7..15085f5501 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
+
+	* string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
+
 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
 
 	* scripts/build-many-glibcs.py (Context.checkout): Default Linux