aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/strlen_32.S
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-08-01 09:01:12 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2018-08-07 21:49:30 +1000
commitf0abbfd89fed4abd8301b35fbf65a26d85b16e7f (patch)
tree408b80cf6f30bac7f4723a8ce30a3bc5ae5e215c /arch/powerpc/lib/strlen_32.S
parentselftests/powerpc: Add test for 32 bits memcmp (diff)
downloadlinux-dev-f0abbfd89fed4abd8301b35fbf65a26d85b16e7f.tar.xz
linux-dev-f0abbfd89fed4abd8301b35fbf65a26d85b16e7f.zip
selftests/powerpc: Add test for strlen()
This patch adds a test for strlen() string.c contains a copy of strlen() from lib/string.c The test first tests the correctness of strlen() by comparing the result with libc strlen(). It tests all cases of alignment. It them tests the duration of an aligned strlen() on a 4 bytes string, on a 16 bytes string and on a 256 bytes string. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> [mpe: Drop change log from copy of string.c] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions