Makefile.target (694B)
1# -*- Mode: makefile -*- 2# 3# ppc64 specific tweaks 4 5VPATH += $(SRC_PATH)/tests/tcg/ppc64 6VPATH += $(SRC_PATH)/tests/tcg/ppc64le 7 8ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER8_VECTOR),) 9PPC64_TESTS=bcdsub 10endif 11bcdsub: CFLAGS += -mpower8-vector 12 13PPC64_TESTS += byte_reverse 14ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER10),) 15run-byte_reverse: QEMU_OPTS+=-cpu POWER10 16run-plugin-byte_reverse-with-%: QEMU_OPTS+=-cpu POWER10 17else 18byte_reverse: 19 $(call skip-test, "BUILD of $@", "missing compiler support") 20run-byte_reverse: 21 $(call skip-test, "RUN of byte_reverse", "not built") 22run-plugin-byte_reverse-with-%: 23 $(call skip-test, "RUN of byte_reverse ($*)", "not built") 24endif 25 26TESTS += $(PPC64_TESTS)