Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-migration-20210726a...
[qemu/armbru.git] / tests / tcg / ppc64 / Makefile.target
bloba6a4ddaeca1e4ab11bcf3c312db4b74ec2b85bc7
1 # -*- Mode: makefile -*-
3 # ppc64 specific tweaks
5 VPATH += $(SRC_PATH)/tests/tcg/ppc64
6 VPATH += $(SRC_PATH)/tests/tcg/ppc64le
8 ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER8_VECTOR),)
9 PPC64_TESTS=bcdsub
10 endif
11 bcdsub: CFLAGS += -mpower8-vector
13 PPC64_TESTS += byte_reverse
14 ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER10),)
15 run-byte_reverse: QEMU_OPTS+=-cpu POWER10
16 run-plugin-byte_reverse-with-%: QEMU_OPTS+=-cpu POWER10
17 else
18 byte_reverse:
19         $(call skip-test, "BUILD of $@", "missing compiler support")
20 run-byte_reverse:
21         $(call skip-test, "RUN of byte_reverse", "not built")
22 run-plugin-byte_reverse-with-%:
23         $(call skip-test, "RUN of byte_reverse ($*)", "not built")
24 endif
26 TESTS += $(PPC64_TESTS)