1 # -*- Mode: makefile -*-
3 # ARM - included from tests/tcg/Makefile
6 ARM_SRC=$(SRC_PATH)/tests/tcg/arm
8 # Set search path for all sources
12 float_madds: CFLAGS+=-mfpu=neon-vfpv4
16 hello-arm: CFLAGS+=-marm -ffreestanding
17 hello-arm: LDFLAGS+=-nostdlib
19 # IWMXT floating point extensions
20 ARM_TESTS += test-arm-iwmmxt
21 test-arm-iwmmxt: CFLAGS+=-marm -march=iwmmxt -mabi=aapcs -mfpu=fpv4-sp-d16
22 test-arm-iwmmxt: test-arm-iwmmxt.S
23 $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
28 # fcvt: CFLAGS+=-march=armv8.2-a+fp16 -mfpu=neon-fp-armv8
30 $(call run-test,fcvt,$(QEMU) $<,"$< on $(TARGET_NAME)")
31 $(call diff-out,fcvt,$(ARM_SRC)/fcvt.ref)
35 # On ARM Linux only supports 4k pages
36 EXTRA_RUNS+=run-test-mmap-4096