2018-04-14 00:08:26 +08:00
|
|
|
# -*- Mode: makefile -*-
|
|
|
|
#
|
|
|
|
# AArch64 specific tweaks
|
|
|
|
|
2019-08-07 22:35:22 +08:00
|
|
|
ARM_SRC=$(SRC_PATH)/tests/tcg/arm
|
|
|
|
VPATH += $(ARM_SRC)
|
|
|
|
|
2018-04-14 00:08:26 +08:00
|
|
|
AARCH64_SRC=$(SRC_PATH)/tests/tcg/aarch64
|
|
|
|
VPATH += $(AARCH64_SRC)
|
|
|
|
|
2019-08-07 22:35:22 +08:00
|
|
|
# we don't build any other ARM test
|
|
|
|
AARCH64_TESTS=fcvt
|
2018-04-14 00:08:26 +08:00
|
|
|
|
|
|
|
fcvt: LDFLAGS+=-lm
|
|
|
|
|
|
|
|
run-fcvt: fcvt
|
2018-05-21 17:38:37 +08:00
|
|
|
$(call run-test,$<,$(QEMU) $<, "$< on $(TARGET_NAME)")
|
|
|
|
$(call diff-out,$<,$(AARCH64_SRC)/fcvt.ref)
|
2019-02-06 00:52:39 +08:00
|
|
|
|
2019-06-10 06:22:49 +08:00
|
|
|
AARCH64_TESTS += pauth-1 pauth-2
|
2019-08-07 22:35:22 +08:00
|
|
|
run-pauth-%: QEMU_OPTS += -cpu max
|
2019-02-06 00:52:39 +08:00
|
|
|
|
2019-08-07 22:35:22 +08:00
|
|
|
TESTS += $(AARCH64_TESTS)
|