diff options
| author | Christopher Ferris <cferris@google.com> | 2013-07-10 14:31:03 -0700 |
|---|---|---|
| committer | Christopher Ferris <cferris@google.com> | 2013-07-15 12:37:51 -0700 |
| commit | 2fc071797743b88a9a47427d46baed7c7b24f4d2 (patch) | |
| tree | 09d82e84206ef402de1c89c1e5a82bc237cd9924 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | 47c7e33ccb9eaadaadc84e7d7e910aba1c07f089 (diff) | |
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
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
