]> sourceware.org Git - newlib-cygwin.git/commit
Reorganize memchr selection. cygwin-2_3_0-release
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Tue, 3 Nov 2015 14:17:56 +0000 (14:17 +0000)
committerMarcus Shawcroft <marcus.shawcroft@arm.com>
Fri, 6 Nov 2015 16:11:32 +0000 (16:11 +0000)
commitd18f1fc8a32d9703d81aecdb1b5541211cd77498
tree254d5f9ede832e85c44142d500cb72d641645f9a
parent72be1dead45eb48d3f63b944ff0082952d30d105
Reorganize memchr selection.

The patch cleans up the auto configury mechanism used to select
different implementations of memchr for various architecture versions.

The approach here is to remove the selection of memchr within automake
and instead use complimentary logic in memchr-stub.c and memchr.S to
choose between the gerneric memchr.c implementation or one of the
architecture specific implementations.

This patch also changes the selection criteria inline with the
previous proposal here:

https://sourceware.org/ml/newlib/2015/msg00752.html

but using the ACLE predefines.

Regressed for armv7-a armv5 armv8-a, correct selection of memcpy
implementation by manual inspection of a test program built for these
three architectures.
newlib/ChangeLog
newlib/libc/machine/arm/Makefile.am
newlib/libc/machine/arm/Makefile.in
newlib/libc/machine/arm/configure
newlib/libc/machine/arm/configure.in
newlib/libc/machine/arm/memchr-stub.c [new file with mode: 0644]
newlib/libc/machine/arm/memchr.S
This page took 0.034158 seconds and 5 git commands to generate.