qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 35/35] test/tcg/ppc64le: Add float reference files


From: Cédric Le Goater
Subject: Re: [PATCH 35/35] test/tcg/ppc64le: Add float reference files
Date: Sun, 21 Nov 2021 18:47:47 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

On 11/19/21 17:05, Richard Henderson wrote:
Generated on Power9, PowerNV 9006-22P.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  tests/tcg/ppc64le/float_convs.ref | 748 +++++++++++++++++++++++++++++
  tests/tcg/ppc64le/float_madds.ref | 768 ++++++++++++++++++++++++++++++
  2 files changed, 1516 insertions(+)
  create mode 100644 tests/tcg/ppc64le/float_convs.ref
  create mode 100644 tests/tcg/ppc64le/float_madds.ref

diff --git a/tests/tcg/ppc64le/float_convs.ref 
b/tests/tcg/ppc64le/float_convs.ref
new file mode 100644
index 0000000000..6e6f636834
--- /dev/null
+++ b/tests/tcg/ppc64le/float_convs.ref
@@ -0,0 +1,748 @@
+### Rounding to nearest
+from single: f32(-nan:0xffa00000)
+  to double: f64(-nan:0x00fff4000000000000) (OK)
+   to int32: -2147483648 (INVALID)
+   to int64: -9223372036854775808 (INVALID)
+  to uint32: 0 (INVALID)
+  to uint64: 0 (INVALID)


I am getting an error with this test. See below.

C.




make[2]: Leaving directory 
'/home/legoater/work/qemu/qemu-ppc-7.0.git/build/tests/tcg/ppc64le-linux-user'
(cd tests/tcg/ppc64le-linux-user && make -f ../Makefile.target 
TARGET="ppc64le-linux-user" SRC_PATH="/home/legoater/work/qemu/qemu-ppc-7.0.git" 
SPEED=quick run)
make[2]: Entering directory 
'/home/legoater/work/qemu/qemu-ppc-7.0.git/build/tests/tcg/ppc64le-linux-user'
timeout --foreground 15  
/home/legoater/work/qemu/qemu-ppc-7.0.git/build/qemu-ppc64le  float_convs > 
float_convs.out
diff -q float_convs.out 
/home/legoater/work/qemu/qemu-ppc-7.0.git/tests/tcg/ppc64le/float_convs.ref || (diff -u 
float_convs.out 
/home/legoater/work/qemu/qemu-ppc-7.0.git/tests/tcg/ppc64le/float_convs.ref | head -n 
10 && false)
Files float_convs.out and 
/home/legoater/work/qemu/qemu-ppc-7.0.git/tests/tcg/ppc64le/float_convs.ref 
differ
--- float_convs.out     2021-11-21 12:39:33.911946974 -0500
+++ /home/legoater/work/qemu/qemu-ppc-7.0.git/tests/tcg/ppc64le/float_convs.ref 
2021-11-21 09:43:12.946774006 -0500
@@ -1,6 +1,6 @@
 ### Rounding to nearest
 from single: f32(-nan:0xffa00000)
-  to double: f64(-nan:0x00fff4000000000000) (INVALID)
+  to double: f64(-nan:0x00fff4000000000000) (OK)
    to int32: -2147483648 (INVALID)
    to int64: -9223372036854775808 (INVALID)
   to uint32: 0 (INVALID)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]