diff options
author | 2015-01-21 12:27:39 +1100 | |
---|---|---|
committer | 2015-01-23 16:44:23 +1100 | |
commit | 521adf5357105f6f750fbe7bca958fab3b19df2e (patch) | |
tree | 74f9dc6108221b20aa7ded50b1ed47528d1a9538 /tools/testing/selftests/powerpc/stringloops/Makefile | |
parent | 15c2d45d17418cc4a712608c78ff3b5f0583d83b (diff) | |
download | linux-yocto-521adf5357105f6f750fbe7bca958fab3b19df2e.tar.gz |
selftests/powerpc: Add memcmp testcase
Add a testcase for the new ppc64 memcmp.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/stringloops/Makefile')
-rw-r--r-- | tools/testing/selftests/powerpc/stringloops/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/stringloops/Makefile b/tools/testing/selftests/powerpc/stringloops/Makefile new file mode 100644 index 000000000000..506d77346477 --- /dev/null +++ b/tools/testing/selftests/powerpc/stringloops/Makefile @@ -0,0 +1,20 @@ +# The loops are all 64-bit code +CFLAGS += -m64 +CFLAGS += -I$(CURDIR) + +PROGS := memcmp +EXTRA_SOURCES := memcmp_64.S ../harness.c + +all: $(PROGS) + +$(PROGS): $(EXTRA_SOURCES) + +run_tests: all + @-for PROG in $(PROGS); do \ + ./$$PROG; \ + done; + +clean: + rm -f $(PROGS) *.o + +.PHONY: all run_tests clean |