[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 2/2] tests/tcg/mips64el: Run float tests
From: |
Philippe Mathieu-Daudé |
Subject: |
[RFC PATCH 2/2] tests/tcg/mips64el: Run float tests |
Date: |
Sun, 26 Dec 2021 01:19:31 +0100 |
Unfortunately this fails:
$ make run-tcg-tests-mips64el-linux-user
...
Files float_convs.out and tests/tcg/mips64el/float_convs.ref differ
--- float_convs.out 2021-12-26 01:03:48.585973637 +0100
+++ tests/tcg/mips64el/float_convs.ref 2021-12-26 00:29:35.804465340 +0100
@@ -1,40 +1,40 @@
### Rounding to nearest
-from single: f32(nan:0xffffffff)
- to double: f64(nan:0x007ff7ffffffffffff) (INVALID)
- to int32: 2147483647 (INVALID)
- to int64: 9223372036854775807 (INVALID)
- to uint32: 2147483647 (INVALID)
- to uint64: 9223372036854775807 (INVALID)
make[2]: *** [tests/tcg/multiarch/Makefile.target:32: run-float_convs] Error 1
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
tests/tcg/mips64el/Makefile.target | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 tests/tcg/mips64el/Makefile.target
diff --git a/tests/tcg/mips64el/Makefile.target
b/tests/tcg/mips64el/Makefile.target
new file mode 100644
index 00000000000..dcb1e9d72ac
--- /dev/null
+++ b/tests/tcg/mips64el/Makefile.target
@@ -0,0 +1,2 @@
+float_%: CFLAGS+=-march=loongson3a
+float_%: QEMU_OPTS+=-cpu Loongson-3A4000
--
2.33.1