All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julian Seward <jseward@acm.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Emulation differences, qemu-system-x86_64 vs Athlon64
Date: Wed, 12 Apr 2006 13:08:00 +0100	[thread overview]
Message-ID: <200604121308.00848.jseward@acm.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]


Recently I've been playing with CVS qemu-system (softmmu) on amd64
and had some stability problems.  I decided to run Valgrind's amd64
instruction-set tests (derived from qemu's) to see if they picked up
anything.  Resulting diffs are attached.

There are a bunch of differences for the C flag for rotates
(rol/ror) by multiples of the word size.  I don't think these
are significant, but who knows.

Perhaps more worryingly are the 20 or so lines at the bottom
of the diff.  These I believe are for double-to-int/short
conversions for a value which is out of range for an int/short;
the hardware produces 0x80000000/0x8000 respectively, which is
the "integer indefinite"; QEMU produces zero.  I can imagine some
obscure routine somewhere checking for integer indefinite after
conversion and being confused as a result.

J

[-- Attachment #2: diffs-qemu-vs-Athlon64.txt.bz2 --]
[-- Type: application/x-bzip2, Size: 8511 bytes --]

             reply	other threads:[~2006-04-12 12:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12 12:08 Julian Seward [this message]
2006-04-12 22:18 ` [Qemu-devel] Emulation differences, qemu-system-x86_64 vs Athlon64 Fabrice Bellard
2006-04-12 23:15   ` Julian Seward

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200604121308.00848.jseward@acm.org \
    --to=jseward@acm.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.