arm: Implement armv6 optimized string routines
commitf5ad94e02ab6b086506cef1f3fea6fe4218073e6
authorRichard Henderson <rth@twiddle.net>
Thu, 7 Mar 2013 17:07:51 +0000 (7 09:07 -0800)
committerRichard Henderson <rth@twiddle.net>
Thu, 7 Mar 2013 17:10:33 +0000 (7 09:10 -0800)
tree88bed80658c1e8f508e269aa8acd78a568fe1e04
parent642e52808d921b2205109ba3cd8dc713be38bc19
arm: Implement armv6 optimized string routines

The strcpy and strchr (and related) functions are four times faster
than the byte-by-byte default versions.

The strlen function is twice as fast for long strings and 50% faster
for short strings over the armv4 version.
ports/ChangeLog.arm
ports/sysdeps/arm/armv6/rawmemchr.S [new file with mode: 0644]
ports/sysdeps/arm/armv6/stpcpy.S [new file with mode: 0644]
ports/sysdeps/arm/armv6/strchr.S [new file with mode: 0644]
ports/sysdeps/arm/armv6/strcpy.S [new file with mode: 0644]
ports/sysdeps/arm/armv6/strlen.S [new file with mode: 0644]
ports/sysdeps/arm/armv6/strrchr.S [new file with mode: 0644]
ports/sysdeps/arm/armv6t2/Implies [new file with mode: 0644]