]> sourceware.org Git - glibc.git/commit - ChangeLog
string/memchr.c: Merge from gnulib
authorWill Newton <will.newton@linaro.org>
Thu, 26 Jun 2014 15:00:44 +0000 (16:00 +0100)
committerWill Newton <will.newton@linaro.org>
Fri, 4 Jul 2014 08:23:21 +0000 (09:23 +0100)
commit1570a72bb8359c9a3a64c4e22d9ea47ce6fcff31
tree7dbf52a3e0f06b4681aaf9402d55057e6352ddce
parent6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43
string/memchr.c: Merge from gnulib

Merge most of the gnulib implementation of memchr. The changes that
remain are:

 - copyright header
 - bp-sym.h removed
 - reg_char removed
 - allow MEMCHR to be redefined
 - non-conforming whitespace changes

The merged code fixes a number of -Wundef warnings and also introduces
an optimized algorithm. I haven't detected any performance difference
in the new code which I believe is down to the quite specific
circumstances required to hit it. However the new code is approximately
half the size of the old code on AArch64 (which uses generic memchr).

ChangeLog:

2014-07-04  Will Newton  <will.newton@linaro.org>

* string/memchr.c: Merge from gnulib.
[_LIBC]: Remove conditionals.
(__ptr_t): Remove define.
(LONG_MAX_32_BITS): Likewise.
(LONG_MAX): Likewise.
(MEMCHR): Use ANSI prototype and optimize algorithm.
ChangeLog
string/memchr.c
This page took 0.039069 seconds and 5 git commands to generate.