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 14PPC64_TESTS += mtfsf 15ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER10),) 16run-byte_reverse: QEMU_OPTS+=-cpu POWER10 17run-plugin-byte_reverse-with-%: QEMU_OPTS+=-cpu POWER10 18else 19byte_reverse: 20 $(call skip-test, "BUILD of $@", "missing compiler support") 21run-byte_reverse: 22 $(call skip-test, "RUN of byte_reverse", "not built") 23run-plugin-byte_reverse-with-%: 24 $(call skip-test, "RUN of byte_reverse ($*)", "not built") 25endif 26 27PPC64_TESTS += signal_save_restore_xer 28 29TESTS += $(PPC64_TESTS) 30