CRISv32: Add arch optimized strcmp.
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 10 Jun 2009 13:06:55 +0000 (15:06 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Wed, 10 Jun 2009 13:21:03 +0000 (15:21 +0200)
commit7f2ff23db1de53ea8695bb4a7c1cfab88886e3fd
tree3e3b4d823322052d83fc2e80b755cafdc50219dd
parentb0903ee8e4853eea35cb24cfb4dda1b60c7948dc
CRISv32: Add arch optimized strcmp.

Add an optimized strcmp for CRISv32. This improves strcmp performance
with about 25% when comparing a 55 character string with itself.

Signed-off-by: Edgar Iglesias <edgar@axis.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v32/lib/Makefile
arch/cris/arch-v32/lib/strcmp.S [new file with mode: 0644]
arch/cris/include/asm/string.h