selftests/powerpc: Add test for 32 bits memcmp
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 1 Aug 2018 09:01:10 +0000 (09:01 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 11:49:29 +0000 (21:49 +1000)
commit1bb07b593adc1934a526eb04acfe8bf786decfd2
treeca64a64fe72f10a654a97f643b628f6fdcc97330
parent94675cceacaec27a30eefb142c4c59a9d3131742
selftests/powerpc: Add test for 32 bits memcmp

This patch renames memcmp test to memcmp_64 and adds a memcmp_32 test
for testing the 32 bits version of memcmp()

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Fix 64-bit build by adding build_32bit test]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/stringloops/Makefile
tools/testing/selftests/powerpc/stringloops/memcmp_32.S [new symlink]