mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 19:40:07 +08:00
e7b1ee2ea6
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.
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
AM_CCASFLAGS = $(INCLUDES)
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
lib_a_SOURCES =
|
|
lib_a_SOURCES += memchr-stub.c
|
|
lib_a_SOURCES += memchr.S
|
|
lib_a_SOURCES += memcmp-stub.c
|
|
lib_a_SOURCES += memcmp.S
|
|
lib_a_SOURCES += memcpy-stub.c
|
|
lib_a_SOURCES += memcpy.S
|
|
lib_a_SOURCES += memmove-stub.c
|
|
lib_a_SOURCES += memmove.S
|
|
lib_a_SOURCES += memset-stub.c
|
|
lib_a_SOURCES += memset.S
|
|
lib_a_SOURCES += rawmemchr.S
|
|
lib_a_SOURCES += rawmemchr-stub.c
|
|
lib_a_SOURCES += setjmp.S
|
|
lib_a_SOURCES += stpcpy-stub.c
|
|
lib_a_SOURCES += stpcpy.S
|
|
lib_a_SOURCES += strchr-stub.c
|
|
lib_a_SOURCES += strchr.S
|
|
lib_a_SOURCES += strchrnul-stub.c
|
|
lib_a_SOURCES += strchrnul.S
|
|
lib_a_SOURCES += strcmp-stub.c
|
|
lib_a_SOURCES += strcmp.S
|
|
lib_a_SOURCES += strcpy-stub.c
|
|
lib_a_SOURCES += strcpy.S
|
|
lib_a_SOURCES += strlen-stub.c
|
|
lib_a_SOURCES += strlen.S
|
|
lib_a_SOURCES += strncmp-stub.c
|
|
lib_a_SOURCES += strncmp.S
|
|
lib_a_SOURCES += strnlen-stub.c
|
|
lib_a_SOURCES += strnlen.S
|
|
lib_a_SOURCES += strrchr-stub.c
|
|
lib_a_SOURCES += strrchr.S
|
|
|
|
lib_a_CCASFLAGS=$(AM_CCASFLAGS)
|
|
lib_a_CFLAGS=$(AM_CFLAGS)
|
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|