Remove new aligned memcpy path for cortex-a15.

For some reason the new cortex-a15 memcpy code from ARM is really bad
for really large copies. This change forces us to go down the old path
for all copies.

All of my benchmarks show the new version is faster for large copies, but
something is going on that I don't understand.

Bug: 10838353
Change-Id: I01c16d4a2575e76f4c69862c6f78fd9024eb3fb8
This commit is contained in:
Christopher Ferris 2013-10-15 14:54:02 -07:00
parent f87684eea1
commit ac6bc31942
1 changed files with 4 additions and 2 deletions

View File

@ -74,8 +74,10 @@ ENTRY(MEMCPY_BASE)
cmp r2, #16
blo .L_copy_less_than_16_unknown_align
cmp r2, #832
bge .L_check_alignment
// TODO: The aligned copy code is extremely slow copying some large
// buffers so always go through the unaligned path for now.
//cmp r2, #832
//bge .L_check_alignment
.L_copy_unknown_alignment:
// Unknown alignment of src and dst.