1# -*- Mode: makefile -*- 2# 3# ppc64le specific tweaks 4 5VPATH += $(SRC_PATH)/tests/tcg/ppc64le 6 7ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER8_VECTOR),) 8PPC64LE_TESTS=bcdsub 9endif 10bcdsub: CFLAGS += -mpower8-vector 11 12ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER10),) 13PPC64LE_TESTS += byte_reverse 14endif 15byte_reverse: CFLAGS += -mcpu=power10 16run-byte_reverse: QEMU_OPTS+=-cpu POWER10 17run-plugin-byte_reverse-with-%: QEMU_OPTS+=-cpu POWER10 18 19PPC64LE_TESTS += mtfsf 20PPC64LE_TESTS += signal_save_restore_xer 21 22TESTS += $(PPC64LE_TESTS) 23