libc/newlib/libc/machine
Wilco Dijkstra e7b1ee2ea6 Add rawmemchr
Marcus Shawcroft wrote:
> This patch appears to have been munged by the mail system, can you
> repost as an attachment please.

Sure, I've attached the patch.

Wilco

Add a simple rawmemchr implementation. Use strlen for rawmemchr(s, '\0') as it is the
fastest way to search for '\0', and use memchr with an infinite size for other cases.
This is 3x faster for large sizes.

ChangeLog:
2016-04-22  Wilco Dijkstra  <wdijkstr@arm.com>

        * newlib/libc/machine/aarch64/Makefile.in: Add rawmemchr.S and
        rawmemchr-stub.c.
        * newlib/libc/machine/aarch64/Makefile.am: Likewise.
        * newlib/libc/machine/aarch64/rawmemchr.S (rawmemchr): Add rawmemchr.
        * newlib/libc/machine/aarch64/rawmemchr-stub.c (rawmemchr): Likewise.
2016-05-20 10:47:02 +02:00
..
a29k Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
aarch64 Add rawmemchr 2016-05-20 10:47:02 +02:00
arc Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
arm Fix strlen using Thumb-2 with -Os -marm 2016-05-11 17:18:48 -04:00
bfin Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
cr16 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
cris Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
crx Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
d10v Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
d30v Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
epiphany Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
fr30 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
frv Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
ft32 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
h8300 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
h8500 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
hppa Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
i386 Add Intel MCU target 2016-04-04 16:32:07 +02:00
i960 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
iq2000 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
lm32 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
m32c Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
m32r Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
m68hc11 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
m68k Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
m88k Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
mep Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
microblaze Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
mips Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
mn10200 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
mn10300 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
moxie Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
msp430 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
mt Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
nds32 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
necv70 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
nios2 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
or1k Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
powerpc Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
rl78 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
rx Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
sh Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
sparc Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
spu Use __machine_*_t_defined for internal types 2016-04-15 14:51:39 +02:00
tic4x Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
tic6x Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
tic80 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
v850 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
visium Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
w65 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
x86_64 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
xc16x Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
xscale Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
xstormy16 Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
z8k Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
Makefile.am * ltmain.sh: Update from GCC. 2007-05-24 17:33:42 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
configure Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
configure.in Add support for ARC to newlib 2015-11-12 14:14:17 +01:00