diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2019-09-16 14:50:56 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-09-26 19:00:53 +0100 |
commit | b059a62bb6d9bcf89b685a886afd672c24622567 (patch) | |
tree | e256b71d8de171df741edd24a3a4a93d813e0138 /tests/tcg/multiarch/Makefile.target | |
parent | a4f3ed629e985f1b5d3b7e0b681ff02e391d699a (diff) | |
download | qemu-b059a62bb6d9bcf89b685a886afd672c24622567.zip qemu-b059a62bb6d9bcf89b685a886afd672c24622567.tar.gz qemu-b059a62bb6d9bcf89b685a886afd672c24622567.tar.bz2 |
tests/tcg: add generic version of float_convs
This is broadly similar to the existing fcvt test for ARM but using
the generic float testing framework. We should be able to pare down
the ARM fcvt test case to purely half-precision with or without the
Alt HP provision.
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/multiarch/Makefile.target')
-rw-r--r-- | tests/tcg/multiarch/Makefile.target | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tcg/multiarch/Makefile.target b/tests/tcg/multiarch/Makefile.target index 30ecb8b..035b09c 100644 --- a/tests/tcg/multiarch/Makefile.target +++ b/tests/tcg/multiarch/Makefile.target @@ -17,11 +17,11 @@ MULTIARCH_TESTS =$(filter-out float_helpers, $(MULTIARCH_SRCS:.c=)) # -float_madds: LDFLAGS+=-lm -float_madds: float_madds.c float_helpers.c +float_%: LDFLAGS+=-lm +float_%: float_%.c float_helpers.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< $(MULTIARCH_SRC)/float_helpers.c -o $@ $(LDFLAGS) -run-float_madds: float_madds +run-float_%: float_% $(call run-test,$<, $(QEMU) $(QEMU_OPTS) $<,"$< on $(TARGET_NAME)") $(call conditional-diff-out,$<,$(SRC_PATH)/tests/tcg/$(TARGET_NAME)/$<.ref) |