00d3880251
Added tests for the mtfsf to check if FI bit of FPSCR is being set and if exception calls are being made correctly. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br> Message-Id: <20211201163808.440385-3-lucas.araujo@eldorado.org.br> Signed-off-by: Cédric Le Goater <clg@kaod.org>
23 lines
522 B
Makefile
23 lines
522 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
|
|
|
|
ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER10),)
|
|
PPC64LE_TESTS += byte_reverse
|
|
endif
|
|
byte_reverse: CFLAGS += -mcpu=power10
|
|
run-byte_reverse: QEMU_OPTS+=-cpu POWER10
|
|
run-plugin-byte_reverse-with-%: QEMU_OPTS+=-cpu POWER10
|
|
|
|
PPC64LE_TESTS += mtfsf
|
|
PPC64LE_TESTS += signal_save_restore_xer
|
|
|
|
TESTS += $(PPC64LE_TESTS)
|