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),)
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
19 $(call skip-test, "BUILD of $@", "missing compiler support")
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")
26 TESTS += $(PPC64_TESTS)