android_bionic/libc
Christopher Ferris 0aa9b52efa 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.

Merge from internal master.

(cherry-picked from 2fc0717977)

Change-Id: I1ceceb4e745fd68e9d946f96d1d42e0cdaff6ccf
2013-07-16 16:47:37 -07:00
..
arch-arm Add new optimized strlen for arm. 2013-07-16 16:47:37 -07:00
arch-mips libc: add swapon and swapoff syscalls 2013-06-25 13:18:03 -07:00
arch-x86 Merge "libc: add swapon and swapoff syscalls" 2013-06-25 22:25:31 +00:00
bionic Clean up our alternate signal stacks. 2013-07-16 14:35:52 -07:00
include Add TCP_INFO state enum values. 2013-07-11 16:21:32 -07:00
kernel Clean up <sys/mount.h>/<linux/fs.h> duplication. 2013-07-03 14:58:04 -07:00
netbsd bionic: move system property writing from init to bionic 2013-06-17 16:58:43 -07:00
private Clean up __builtin_expect usage. 2013-07-16 12:45:46 -07:00
stdio
stdlib
string
tools Slight script cleanup; make gensyscalls work from any directory. 2013-06-17 10:39:33 -07:00
tzcode Upgrade to tzcode2013d. 2013-07-12 17:52:44 -07:00
unistd Switch to current upstream getopt_long. 2013-06-25 14:56:17 -07:00
upstream-dlmalloc
upstream-freebsd Switch to current upstream getopt_long. 2013-06-25 14:56:17 -07:00
upstream-netbsd
wchar
zoneinfo Upgrade to tzdata2013d. 2013-07-08 14:51:15 -07:00
Android.mk Upgrade to tzcode2013d. 2013-07-12 17:52:44 -07:00
CAVEATS
MODULE_LICENSE_BSD
NOTICE libc/arch-arm/bionic/memcpy.a9.S: memcpy from cortex-strings. 2013-07-03 10:20:43 -07:00
SYSCALLS.TXT libc: add swapon and swapoff syscalls 2013-06-25 13:18:03 -07:00