ec9ad11d69
Tests for Byte-Reverse Halfword, Word and Doubleword Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Tested-by: Fabiano Rosas <farosas@linux.ibm.com> [AJB: tweak to make rules for skip/plugins] Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210423205757.1752480-3-matheus.ferst@eldorado.org.br> Message-Id: <20210512102051.12134-28-alex.bennee@linaro.org>
26 lines
665 B
Makefile
26 lines
665 B
Makefile
# -*- Mode: makefile -*-
|
|
#
|
|
# ppc64le specific tweaks
|
|
|
|
VPATH += $(SRC_PATH)/tests/tcg/ppc64le
|
|
|
|
ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER8_VECTOR),)
|
|
PPC64LE_TESTS=bcdsub
|
|
endif
|
|
bcdsub: CFLAGS += -mpower8-vector
|
|
|
|
PPC64LE_TESTS += byte_reverse
|
|
ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER10),)
|
|
run-byte_reverse: QEMU_OPTS+=-cpu POWER10
|
|
run-plugin-byte_reverse-with-%: QEMU_OPTS+=-cpu POWER10
|
|
else
|
|
byte_reverse:
|
|
$(call skip-test, "BUILD of $@", "missing compiler support")
|
|
run-byte_reverse:
|
|
$(call skip-test, "RUN of byte_reverse", "not built")
|
|
run-plugin-byte_reverse-with-%:
|
|
$(call skip-test, "RUN of byte_reverse ($*)", "not built")
|
|
endif
|
|
|
|
TESTS += $(PPC64LE_TESTS)
|