fdd9b09413
We were incorrectly requiring ARMv8.4 support for the pauth tests, but Pointer Authentication is an ARMv8.3 extension. Further, hiding the required architecture within asm() is not correct. Correct the architecture version requested, and specify it in the cflags of the (cross-) compiler rather than in the asm. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200116230809.19078-3-richard.henderson@linaro.org [PMM: tweaked commit message] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# -*- Mode: makefile -*-
|
|
#
|
|
# AArch64 specific tweaks
|
|
|
|
ARM_SRC=$(SRC_PATH)/tests/tcg/arm
|
|
VPATH += $(ARM_SRC)
|
|
|
|
AARCH64_SRC=$(SRC_PATH)/tests/tcg/aarch64
|
|
VPATH += $(AARCH64_SRC)
|
|
|
|
# Float-convert Tests
|
|
AARCH64_TESTS=fcvt
|
|
|
|
fcvt: LDFLAGS+=-lm
|
|
|
|
run-fcvt: fcvt
|
|
$(call run-test,$<,$(QEMU) $<, "$< on $(TARGET_NAME)")
|
|
$(call diff-out,$<,$(AARCH64_SRC)/fcvt.ref)
|
|
|
|
# Pauth Tests
|
|
AARCH64_TESTS += pauth-1 pauth-2
|
|
run-pauth-%: QEMU_OPTS += -cpu max
|
|
pauth-%: CFLAGS += -march=armv8.3-a
|
|
|
|
# Semihosting smoke test for linux-user
|
|
AARCH64_TESTS += semihosting
|
|
run-semihosting: semihosting
|
|
$(call run-test,$<,$(QEMU) $< 2> $<.err, "$< on $(TARGET_NAME)")
|
|
|
|
run-plugin-semihosting-with-%:
|
|
$(call run-test, $@, $(QEMU) $(QEMU_OPTS) \
|
|
-plugin $(PLUGIN_DIR)/$(call extract-plugin,$@) \
|
|
$(call strip-plugin,$<) 2> $<.err, \
|
|
"$< on $(TARGET_NAME) with $*")
|
|
|
|
AARCH64_TESTS += semiconsole
|
|
run-semiconsole: semiconsole
|
|
$(call skip-test, $<, "MANUAL ONLY")
|
|
|
|
run-plugin-semiconsole-with-%:
|
|
$(call skip-test, $<, "MANUAL ONLY")
|
|
|
|
TESTS += $(AARCH64_TESTS)
|