All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <87imqjzz2g.fsf@linaro.org>

diff --git a/a/1.txt b/N1/1.txt
index c9ec2ae..445a1b3 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,4 +1,3 @@
-
 Richard Henderson <rth@twiddle.net> writes:
 
 > Well, maybe yes and maybe no.  What you've done is choose two targets
@@ -29,3 +28,75 @@ the softfloat modes when their appropriate registers are set?
 
 --
 Alex Bennée
+
+-- 
+You received this bug notification because you are a member of qemu-
+devel-ml, which is subscribed to QEMU.
+https://bugs.launchpad.net/bugs/1841442
+
+Title:
+  floating point emulation can fail to set FE_INEXACT
+
+Status in QEMU:
+  New
+
+Bug description:
+  Floating point emulation can fail to set FE_INEXACT in some
+  circumstances. This shows up quite often in glibc's "math" tests.  A
+  similar test is attached.
+
+  On ppc64le native:
+  --
+  $ gcc nextafter.c -o nextafter -lm
+  $ ./nextafter $(./nextafter)
+  0x0000000000000001 0.000000
+  0x0
+
+  0xa000000
+  FE_INEXACT FE_UNDERFLOW
+  0x0000000000000000 0.000000
+  --
+
+  On x86_64:
+  --
+  $ gcc nextafter.c -o nextafter -lm
+  $ ./nextafter $(./nextafter)
+  0x0000000000000001 0.000000
+  0x0
+
+  0x30
+  FE_INEXACT FE_UNDERFLOW 
+  0x0000000000000000 0.000000
+  --
+
+  Using qemu-system-ppc64
+  --
+  $ ./nextafter $(./nextafter)
+  0x0000000000000001 0.000000
+  0x0
+
+  0x8000000
+  FE_UNDERFLOW 
+  0x0000000000000000 0.000000
+  --
+
+  Using qemu-x86_64:
+  --
+  $ ./nextafter $(./nextafter)
+  0x0000000000000001 0.000000
+  0x0
+
+  0x0
+
+  0x0000000000000000 0.000000
+  --
+
+  QEMU versions vary, but not too much, and are pretty close to git HEAD:
+  - 586f3dced9 (HEAD -> master, origin/master, origin/HEAD) Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20190822' into staging
+  - 864ab31 Update version for v4.1.0-rc4 release
+
+  Since the issue happens nearly identically on different targets, I
+  suspect the issue lies somewhere in fpu/softfloat.c.
+
+To manage notifications about this bug go to:
+https://bugs.launchpad.net/qemu/+bug/1841442/+subscriptions
diff --git a/a/content_digest b/N1/content_digest
index 7f42723..a43cf0b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,12 +2,10 @@
  "ref\0156683348223.2485.3705708265196858485.malone@chaenomeles.canonical.com\0"
  "From\0Alex Benn\303\251e <alex.bennee@linaro.org>\0"
  "Subject\0Re: [Qemu-devel] [Bug 1841442] Re: floating point emulation can fail to set FE_INEXACT\0"
- "Date\0Mon, 26 Aug 2019 17:11:35 +0100\0"
- "To\0Bug 1841442 <1841442@bugs.launchpad.net>\0"
- "Cc\0qemu-devel@nongnu.org\0"
+ "Date\0Mon, 26 Aug 2019 16:11:35 -0000\0"
+ "To\0qemu-devel@nongnu.org\0"
  "\00:1\0"
  "b\0"
- "\n"
  "Richard Henderson <rth@twiddle.net> writes:\n"
  "\n"
  "> Well, maybe yes and maybe no.  What you've done is choose two targets\n"
@@ -37,6 +35,78 @@
  "\n"
  "\n"
  "--\n"
- "Alex Benn\303\251e"
+ "Alex Benn\303\251e\n"
+ "\n"
+ "-- \n"
+ "You received this bug notification because you are a member of qemu-\n"
+ "devel-ml, which is subscribed to QEMU.\n"
+ "https://bugs.launchpad.net/bugs/1841442\n"
+ "\n"
+ "Title:\n"
+ "  floating point emulation can fail to set FE_INEXACT\n"
+ "\n"
+ "Status in QEMU:\n"
+ "  New\n"
+ "\n"
+ "Bug description:\n"
+ "  Floating point emulation can fail to set FE_INEXACT in some\n"
+ "  circumstances. This shows up quite often in glibc's \"math\" tests.  A\n"
+ "  similar test is attached.\n"
+ "\n"
+ "  On ppc64le native:\n"
+ "  --\n"
+ "  $ gcc nextafter.c -o nextafter -lm\n"
+ "  $ ./nextafter $(./nextafter)\n"
+ "  0x0000000000000001 0.000000\n"
+ "  0x0\n"
+ "\n"
+ "  0xa000000\n"
+ "  FE_INEXACT FE_UNDERFLOW\n"
+ "  0x0000000000000000 0.000000\n"
+ "  --\n"
+ "\n"
+ "  On x86_64:\n"
+ "  --\n"
+ "  $ gcc nextafter.c -o nextafter -lm\n"
+ "  $ ./nextafter $(./nextafter)\n"
+ "  0x0000000000000001 0.000000\n"
+ "  0x0\n"
+ "\n"
+ "  0x30\n"
+ "  FE_INEXACT FE_UNDERFLOW \n"
+ "  0x0000000000000000 0.000000\n"
+ "  --\n"
+ "\n"
+ "  Using qemu-system-ppc64\n"
+ "  --\n"
+ "  $ ./nextafter $(./nextafter)\n"
+ "  0x0000000000000001 0.000000\n"
+ "  0x0\n"
+ "\n"
+ "  0x8000000\n"
+ "  FE_UNDERFLOW \n"
+ "  0x0000000000000000 0.000000\n"
+ "  --\n"
+ "\n"
+ "  Using qemu-x86_64:\n"
+ "  --\n"
+ "  $ ./nextafter $(./nextafter)\n"
+ "  0x0000000000000001 0.000000\n"
+ "  0x0\n"
+ "\n"
+ "  0x0\n"
+ "\n"
+ "  0x0000000000000000 0.000000\n"
+ "  --\n"
+ "\n"
+ "  QEMU versions vary, but not too much, and are pretty close to git HEAD:\n"
+ "  - 586f3dced9 (HEAD -> master, origin/master, origin/HEAD) Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20190822' into staging\n"
+ "  - 864ab31 Update version for v4.1.0-rc4 release\n"
+ "\n"
+ "  Since the issue happens nearly identically on different targets, I\n"
+ "  suspect the issue lies somewhere in fpu/softfloat.c.\n"
+ "\n"
+ "To manage notifications about this bug go to:\n"
+ https://bugs.launchpad.net/qemu/+bug/1841442/+subscriptions
 
-d1a9203beecd044db15ba58098957715ce19bdbb2df5db6a482edbf86fdb7232
+0c1b301c391e79e61f35e06e4397af994ac1a7c74555a85d06fc4253fbf92ff2

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.