Go to file
Christopher Ferris 2fc0717977 Add new optimized strlen for arm.
This optimized version is primarily targeted at cortex-a15.

Tested on all nexus devices using the system/extras/libc_test strlen test.
Tested alignments from 1 to 32 that are powers of 2.
Tested that strlen does not cross page boundaries at all alignments.

Speed improvements listed below:

cortex-a15
- Sizes >= 32 bytes, ~75% improvement.
- Sizes >= 1024 bytes, ~250% improvement.

cortex-a9
- Sizes >= 32 bytes, ~75% improvement.
- Sizes >= 1024 bytes, ~85% improvement.

krait
- Sizes >= 32 bytes, ~95% improvement.
- Sizes >= 1024 bytes, ~160% improvement.

Change-Id: I361b1a36ed89ab991f2a8f0abbf0d7416d39c8f5
2013-07-15 12:37:51 -07:00
libc Add new optimized strlen for arm. 2013-07-15 12:37:51 -07:00
libdl Drop unnecessary execution permission for .cpp/.c/.h 2013-03-22 10:28:15 +08:00
libm Take upstream libm changes. 2013-06-12 16:37:58 -07:00
libstdc++ Clean up internal libc logging. 2013-03-15 16:12:58 -07:00
libthread_db Fix the pthread_setname_np test. 2013-02-15 12:08:59 -08:00
linker am 7d624e9a: Merge "Kernel dso support for \'dl_iterate_phdr\' function" 2013-06-25 13:17:37 -07:00
tests am 731f7c2d: am 9d476716: Merge "Add <sys/statvfs.h>." 2013-07-11 10:16:32 -07:00
.gitignore Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
ABI-bugs.txt Regenerate NOTICE files. 2013-03-07 11:51:10 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:11:41 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:04:02 -08:00