summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/assert.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2015-07-13 13:09:02 +0100
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2015-07-13 13:09:02 +0100
commitb295f6ba44b0c543fd345eeea08241df7260a79f (patch)
tree2871788fe132679f820601a12b62e16da996de55 /newlib/libc/stdlib/assert.c
parent9503c7f27566e1aaa739e8d5856db81795188030 (diff)
downloadcygnal-b295f6ba44b0c543fd345eeea08241df7260a79f.tar.gz
cygnal-b295f6ba44b0c543fd345eeea08241df7260a79f.tar.bz2
cygnal-b295f6ba44b0c543fd345eeea08241df7260a79f.zip
[AArch64] Optimized memcpy.
This is an optimized memcpy for AArch64. Copies are split into 3 main cases: small copies of up to 16 bytes, medium copies of 17..96 bytes which are fully unrolled. Large copies of more than 96 bytes align the destination and use an unrolled loop processing 64 bytes per iteration. In order to share code with memmove, small and medium copies read all data before writing, allowing any kind of overlap. On a random copy test memcpy is 40.8% faster on A57 and 28.4% on A53.
Diffstat (limited to 'newlib/libc/stdlib/assert.c')
0 files changed, 0 insertions, 0 deletions