aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/copyloops/asm
diff options
context:
space:
mode:
authorSimon Guo <wei.guo.simon@gmail.com>2018-06-07 09:57:55 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-24 22:03:22 +1000
commitc827ac450d379f113b92663cbe5562643635c6b9 (patch)
tree0ceed7ce3d93d212c35355fe746e2f01358c2ac6 /tools/testing/selftests/powerpc/copyloops/asm
parentpowerpc/64: add 32 bytes prechecking before using VMX optimization on memcmp() (diff)
downloadlinux-dev-c827ac450d379f113b92663cbe5562643635c6b9.tar.xz
linux-dev-c827ac450d379f113b92663cbe5562643635c6b9.zip
selftests/powerpc: Update memcmp_64 selftest for VMX implementation
This patch reworked selftest memcmp_64 so that memcmp selftest can cover more test cases. It adds testcases for: - memcmp over 4K bytes size. - s1/s2 with different/random offset on 16 bytes boundary. - enter/exit_vmx_ops pairness. Signed-off-by: Simon Guo <wei.guo.simon@gmail.com> [mpe: Add -maltivec to fix build on some toolchains] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/copyloops/asm')
-rw-r--r--tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h b/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
index 5ffe04d802c9..dfce161aebfc 100644
--- a/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
+++ b/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
@@ -36,11 +36,11 @@ FUNC_START(exit_vmx_usercopy)
li r3,0
blr
-FUNC_START(enter_vmx_copy)
+FUNC_START(enter_vmx_ops)
li r3,1
blr
-FUNC_START(exit_vmx_copy)
+FUNC_START(exit_vmx_ops)
blr
FUNC_START(memcpy_power7)