summaryrefslogtreecommitdiffstats
path: root/libc/wchar/wcscmp.c
diff options
context:
space:
mode:
authorGreta Yorsh <greta.yorsh@arm.com>2012-11-30 09:31:38 +0000
committerDavid Butcher <david.butcher@arm.com>2013-03-01 10:41:01 +0000
commiteb149e954ed7c455d3fb3b19bc064ad358c8bb1e (patch)
tree2c83e62fa897004cc5ca4ff7a27b7cd729e260cc /libc/wchar/wcscmp.c
parent5b349fc22e7ba35ecb76b365d8be71939d204cde (diff)
downloadbionic-eb149e954ed7c455d3fb3b19bc064ad358c8bb1e.zip
bionic-eb149e954ed7c455d3fb3b19bc064ad358c8bb1e.tar.gz
bionic-eb149e954ed7c455d3fb3b19bc064ad358c8bb1e.tar.bz2
Adding strcmp tuned for Cortex-A15.
The attached patch provides a new implementation of strcmp for ARM, using LDRD instead of LDR whenever possible. For older architectures that do not support LDRD, this implementation uses the same algorithm as before. Testing and benchmarking: * Validation: successfully passes a test that compares different strings of length 1-128 and offsets 0-8 from a word boundary. Checked on qemu/A15/A9, ARM/Thumb mode, Big/Little Endian. * Integration with gcc: no regression on qemu for arm-none-eabi --with-cpu a15/a9 --with-mode arm/thumb. Change-Id: I9e230e1b99dbdc9119b69ee858a89038c516a4ea Signed-off-by: Vassilis Laganakos <vasileios.laganakos@arm.com>
Diffstat (limited to 'libc/wchar/wcscmp.c')
0 files changed, 0 insertions, 0 deletions