qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1883784] [NEW] [ppc64le] qemu behavior differs from ppc64le hardware
@ 2020-06-16 20:27 Evan Nemerson
  2020-06-16 21:22 ` [Bug 1883784] " Alex Bennée
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Evan Nemerson @ 2020-06-16 20:27 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I have some code which passes my test suite on PPC64LE hardware when
compiled with GCC 10, but the saem binary fails with both qemu-ppc64le
4.2 (on Fedora 32) and qemu-ppc64le-static 5.0.0 (Debian testing).

I'm not getting any errors about illegal instructions or anything, like
that; the results are just silently different on qemu.

I've generated a reduced test case, which is attached along with the
binaries (both are the same code, one is just statically linked).  They
should execute successufully on PPC64LE hardware, but on qemu they hit a
__builtin_abort (because the computed value doesn't match the expected
value).

Without being familiar with PPC assembly I'm not sure what else I can
do, but if there is anything please let me know.

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: ppc64le

** Attachment added: "test case"
   https://bugs.launchpad.net/bugs/1883784/+attachment/5384531/+files/mm_cvtpd_ps.tar.bz2

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1883784

Title:
  [ppc64le] qemu behavior differs from ppc64le hardware

Status in QEMU:
  New

Bug description:
  I have some code which passes my test suite on PPC64LE hardware when
  compiled with GCC 10, but the saem binary fails with both qemu-ppc64le
  4.2 (on Fedora 32) and qemu-ppc64le-static 5.0.0 (Debian testing).

  I'm not getting any errors about illegal instructions or anything,
  like that; the results are just silently different on qemu.

  I've generated a reduced test case, which is attached along with the
  binaries (both are the same code, one is just statically linked).
  They should execute successufully on PPC64LE hardware, but on qemu
  they hit a __builtin_abort (because the computed value doesn't match
  the expected value).

  Without being familiar with PPC assembly I'm not sure what else I can
  do, but if there is anything please let me know.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1883784/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-06  4:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 20:27 [Bug 1883784] [NEW] [ppc64le] qemu behavior differs from ppc64le hardware Evan Nemerson
2020-06-16 21:22 ` [Bug 1883784] " Alex Bennée
2020-06-17  8:19 ` Laurent Vivier
2020-06-17 11:53 ` Michael R. Crusoe
2021-05-07  2:50 ` Thomas Huth
2021-07-06  4:17 ` Launchpad Bug Tracker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).