]> git.proxmox.com Git - mirror_qemu.git/blob - tests/tcg/arm/Makefile.target
slirp: Allow non-local DNS address when restrict is off
[mirror_qemu.git] / tests / tcg / arm / Makefile.target
1 # -*- Mode: makefile -*-
2 #
3 # ARM - included from tests/tcg/Makefile
4 #
5
6 ARM_SRC=$(SRC_PATH)/tests/tcg/arm
7
8 # Set search path for all sources
9 VPATH += $(ARM_SRC)
10
11 ARM_TESTS=hello-arm test-arm-iwmmxt
12
13 TESTS += $(ARM_TESTS) fcvt
14
15 hello-arm: CFLAGS+=-marm -ffreestanding
16 hello-arm: LDFLAGS+=-nostdlib
17
18 test-arm-iwmmxt: CFLAGS+=-marm -march=iwmmxt -mabi=aapcs -mfpu=fpv4-sp-d16
19 test-arm-iwmmxt: test-arm-iwmmxt.S
20 $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
21
22 ifeq ($(TARGET_NAME), arm)
23 fcvt: LDFLAGS+=-lm
24 # fcvt: CFLAGS+=-march=armv8.2-a+fp16 -mfpu=neon-fp-armv8
25
26 run-fcvt: fcvt
27 $(call run-test,fcvt,$(QEMU) $<,"$< on $(TARGET_NAME)")
28 $(call diff-out,fcvt,$(ARM_SRC)/fcvt.ref)
29 endif
30
31 # On ARM Linux only supports 4k pages
32 EXTRA_RUNS+=run-test-mmap-4096