summaryrefslogtreecommitdiff
path: root/arch/tile/lib/Makefile
diff options
context:
space:
mode:
authorKen Steele <ken@tilera.com>2013-08-01 15:55:07 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-08-01 20:08:51 -0400
commit5916700c768803546b6fe7d093dcba40d22fcf57 (patch)
tree07bbeb368b246e82ad23c6af151f4408f7be1cb0 /arch/tile/lib/Makefile
parentc53c70a90fdce3e7a53a0412abf7cc2b2a645988 (diff)
tile: optimize strnlen using SIMD instructions
Using strlen as a model, add length checking to create strnlen. Signed-off-by: Ken Steele <ken@tilera.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/lib/Makefile')
-rw-r--r--arch/tile/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/lib/Makefile b/arch/tile/lib/Makefile
index 985f59858234..5d844374b2b1 100644
--- a/arch/tile/lib/Makefile
+++ b/arch/tile/lib/Makefile
@@ -4,7 +4,7 @@
lib-y = cacheflush.o checksum.o cpumask.o delay.o uaccess.o \
memmove.o memcpy_$(BITS).o memchr_$(BITS).o memset_$(BITS).o \
- strchr_$(BITS).o strlen_$(BITS).o
+ strchr_$(BITS).o strlen_$(BITS).o strnlen_$(BITS).o
ifeq ($(CONFIG_TILEGX),y)
CFLAGS_REMOVE_memcpy_user_64.o = -fno-omit-frame-pointer