[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v3 03/15] fp-test: pick TARGET_ARM to get its special
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL v3 03/15] fp-test: pick TARGET_ARM to get its specialization |
Date: |
Mon, 17 Dec 2018 10:56:38 +0000 |
From: "Emilio G. Cota" <address@hidden>
This gets rid of the muladd errors due to not raising the invalid flag.
- Before:
Errors found in f64_mulAdd, rounding near_even, tininess before rounding:
+000.0000000000000 +7FF.0000000000000 +7FF.FFFFFFFFFFFFF
=> +7FF.FFFFFFFFFFFFF ..... expected -7FF.FFFFFFFFFFFFF v....
[...]
- After:
In 6133248 tests, no errors found in f64_mulAdd, rounding near_even, tininess
before rounding.
[...]
Reviewed-by: Alex Bennée <address@hidden>
Tested-by: Alex Bennée <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
diff --git a/tests/fp/Makefile b/tests/fp/Makefile
index d649a5a1db..49cdcd1bd2 100644
--- a/tests/fp/Makefile
+++ b/tests/fp/Makefile
@@ -29,6 +29,9 @@ QEMU_INCLUDES += -I$(TF_SOURCE_DIR)
# work around TARGET_* poisoning
QEMU_CFLAGS += -DHW_POISON_H
+# define a target to match testfloat's implementation-defined choices, such as
+# whether to raise the invalid flag when dealing with NaNs in muladd.
+QEMU_CFLAGS += -DTARGET_ARM
# capstone has a platform.h file that clashes with softfloat's
QEMU_CFLAGS := $(filter-out %capstone, $(QEMU_CFLAGS))
--
2.17.1
- [Qemu-devel] [PULL v3 09/15] fpu: introduce hardfloat, (continued)
- [Qemu-devel] [PULL v3 09/15] fpu: introduce hardfloat, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 14/15] hardfloat: implement float32/64 square root, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 11/15] hardfloat: implement float32/64 multiplication, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 10/15] hardfloat: implement float32/64 addition and subtraction, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 07/15] softfloat: add float{32, 64}_is_zero_or_normal, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 06/15] softfloat: rename canonicalize to sf_canonicalize, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 01/15] contrib: add a basic gitdm config, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 05/15] target/tricore: use float32_is_denormal, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 04/15] softfloat: add float{32, 64}_is_{de, }normal, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 02/15] MAINTAINERS: update status of FPU emulation, Alex Bennée, 2018/12/17
- [Qemu-devel] [PULL v3 03/15] fp-test: pick TARGET_ARM to get its specialization,
Alex Bennée <=
- [Qemu-devel] [PULL v3 13/15] hardfloat: implement float32/64 fused multiply-add, Alex Bennée, 2018/12/17
- Re: [Qemu-devel] [PULL v3 00/15] Hardfloat + softfloat maintainers update and gitdm, Peter Maydell, 2018/12/18