OSDN Git Service

bionic/x86: Optimization for string routines
authorLiubov Dmitrieva <liubov.dmitrieva@intel.com>
Tue, 17 Jan 2012 08:55:46 +0000 (12:55 +0400)
committerLiubov Dmitrieva <liubov.dmitrieva@intel.com>
Fri, 31 May 2013 09:37:03 +0000 (13:37 +0400)
commit0a490665a3a287cd3aee1e7327f2381222c387c4
tree57ae5c88efa43bb4e22cb8c251776a307e65c7ca
parent8d79fd1c94cb021b6852e6f44e27183ec83fe04c
bionic/x86: Optimization for string routines

Optimized strcpy, strcat,
strncpy, strncat, strlcpy, strlcat,
memchr, memrchr, strchr, strrchr, index,
strnlen, strlen, wcslen, wmemcmp, wcscmp,
wcschr, wcsrchr, wcscpy, wcscat

Change-Id: I82b29132edf9a2e144e0bb3ee4ff5217df8d2a6d
Signed-off-by: Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39 files changed:
libc/Android.mk
libc/arch-x86/string/bzero_wrapper.S [deleted file]
libc/arch-x86/string/cache.h [moved from libc/arch-x86/string/cache_wrapper.S with 100% similarity]
libc/arch-x86/string/memcpy_wrapper.S [deleted file]
libc/arch-x86/string/memmove_wrapper.S [deleted file]
libc/arch-x86/string/memset_wrapper.S [deleted file]
libc/arch-x86/string/sse2-bzero-atom.S [moved from libc/arch-x86/string/strncmp_wrapper.S with 90% similarity]
libc/arch-x86/string/sse2-index-atom.S [new file with mode: 0644]
libc/arch-x86/string/sse2-memchr-atom.S [new file with mode: 0644]
libc/arch-x86/string/sse2-memrchr-atom.S [new file with mode: 0644]
libc/arch-x86/string/sse2-memset-atom.S [moved from libc/arch-x86/string/sse2-memset5-atom.S with 99% similarity]
libc/arch-x86/string/sse2-strchr-atom.S [new file with mode: 0644]
libc/arch-x86/string/sse2-strlen-atom.S
libc/arch-x86/string/sse2-strnlen-atom.S [new file with mode: 0644]
libc/arch-x86/string/sse2-strrchr-atom.S [new file with mode: 0644]
libc/arch-x86/string/sse2-wcschr-atom.S [new file with mode: 0644]
libc/arch-x86/string/sse2-wcscmp-atom.S [new file with mode: 0644]
libc/arch-x86/string/sse2-wcslen-atom.S [new file with mode: 0644]
libc/arch-x86/string/sse2-wcsrchr-atom.S [new file with mode: 0644]
libc/arch-x86/string/ssse3-bcopy-atom.S [moved from libc/arch-x86/string/strlen_wrapper.S with 92% similarity]
libc/arch-x86/string/ssse3-memcmp-atom.S [moved from libc/arch-x86/string/ssse3-memcmp3-new.S with 85% similarity]
libc/arch-x86/string/ssse3-memcpy-atom.S [moved from libc/arch-x86/string/ssse3-memcpy5.S with 99% similarity]
libc/arch-x86/string/ssse3-memmove-atom.S [moved from libc/arch-x86/string/strcmp_wrapper.S with 92% similarity]
libc/arch-x86/string/ssse3-strcat-atom.S [new file with mode: 0644]
libc/arch-x86/string/ssse3-strcmp-atom.S [moved from libc/arch-x86/string/ssse3-strcmp-latest.S with 99% similarity]
libc/arch-x86/string/ssse3-strcpy-atom.S [new file with mode: 0644]
libc/arch-x86/string/ssse3-strlcat-atom.S [new file with mode: 0644]
libc/arch-x86/string/ssse3-strlcpy-atom.S [new file with mode: 0644]
libc/arch-x86/string/ssse3-strncat-atom.S [new file with mode: 0644]
libc/arch-x86/string/ssse3-strncmp-atom.S [moved from libc/arch-x86/string/memcmp_wrapper.S with 93% similarity]
libc/arch-x86/string/ssse3-strncpy-atom.S [new file with mode: 0644]
libc/arch-x86/string/ssse3-wcscat-atom.S [moved from libc/arch-x86/string/bcopy_wrapper.S with 50% similarity]
libc/arch-x86/string/ssse3-wcscpy-atom.S [new file with mode: 0644]
libc/arch-x86/string/ssse3-wmemcmp-atom.S [new file with mode: 0644]
libc/arch-x86/x86.mk
libc/bionic/__strchr_chk.cpp [new file with mode: 0644]
libc/bionic/strchr.cpp
libc/string/__strrchr_chk.c [new file with mode: 0644]
libc/string/strrchr.c