]> sourceware.org Git - newlib-cygwin.git/commit
Reorganize memcpy selection.
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Fri, 30 Oct 2015 15:14:53 +0000 (15:14 +0000)
committerMarcus Shawcroft <marcus.shawcroft@arm.com>
Fri, 6 Nov 2015 15:40:31 +0000 (15:40 +0000)
commit72be1dead45eb48d3f63b944ff0082952d30d105
treedcd8f156a5269e6343f27e027ff81233171b2bef
parentcdb1ebe10729457093fce4df92ae1cd185c854f2
Reorganize memcpy selection.

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

The approach here is to remove the selection of memcpy within automake
and instead use complimentary logic in memcpy-stub.c and memcpy.S to
choose between the generic memcpy.c implemenation or one of the
architecture specific memcpy*.S implemenations.

Regressed for armv7-a armv5 armv8-a, correct selection of memcpy
implementation by manual inspection of a test program built for these
three architectures.

This revised patch flips the remaining preprocessor logic in
memcpy-stub.c to use ACLE defines as requested in the previous review
and removes the now disused HAVE_ARMV7A and HAVE_ARMV8A configure.in
support.
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/memcpy-stub.c [new file with mode: 0644]
newlib/libc/machine/arm/memcpy.S
This page took 0.032226 seconds and 5 git commands to generate.