OSDN Git Service

Add optimized version of memcpy for Cortex A9
authorHenrik Smiding <henrik.smiding@stericsson.com>
Mon, 17 Jan 2011 15:05:41 +0000 (16:05 +0100)
committerElliott Hughes <enh@google.com>
Fri, 9 Nov 2012 02:02:14 +0000 (18:02 -0800)
commit6d0bcdc8329dde4d3c83e95475bc670002f41309
tree9401ac897fc79e10679aa030d7bd2d7f86ed23af
parentc2132915158014f578c3f003c9399961fe8d6da2
Add optimized version of memcpy for Cortex A9

Adds new code to memcpy function, optimized for Cortex A9.
Adds new ARM-only loop, for operations where source and
destination are aligned.

Copyright (C) ST-Ericsson SA 2010

Modified neon implementation to fit Cortex A9 cache line size,
for those running 32 bytes L2 cache line size.
Also split the implementation in aligned and unaligned access,
for those that allows unaligned memory access with Neon.
For totally aligned operations, arm-only code is used.

Change-Id: I95ebf6164cd6486b12a7e3e98e369db21e7e18d2
Author: Henrik Smiding henrik.smiding@stericsson.com for ST-Ericsson.
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
libc/arch-arm/bionic/memcpy.S