aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/arm/Makefile.target
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-09-13 12:12:17 +0100
committerAlex Bennée <alex.bennee@linaro.org>2019-09-26 19:00:53 +0100
commita4f3ed629e985f1b5d3b7e0b681ff02e391d699a (patch)
tree9358b4cdd0f2f82a41405450b8291b9988391efd /tests/tcg/arm/Makefile.target
parent149911cff76b8e222a54cc06caebfbb80e4e8d8f (diff)
tests/tcg: add float_madds test to multiarch
This is a generic floating point multiply and accumulate test for single precision floating point values. I've split of the common float functions into a helper library so additional tests can use the same common code. As I don't have references for all architectures I've allowed some flexibility for tests to pass without reference files. They can be added as we get collect them. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/tcg/arm/Makefile.target')
-rw-r--r--tests/tcg/arm/Makefile.target3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target
index 7347d3d0ad..9f43d98f35 100644
--- a/tests/tcg/arm/Makefile.target
+++ b/tests/tcg/arm/Makefile.target
@@ -8,6 +8,9 @@ ARM_SRC=$(SRC_PATH)/tests/tcg/arm
# Set search path for all sources
VPATH += $(ARM_SRC)
+# Multiarch Tests
+float_madds: CFLAGS+=-mfpu=neon-vfpv4
+
# Basic Hello World
ARM_TESTS = hello-arm
hello-arm: CFLAGS+=-marm -ffreestanding