qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Emulation differences, qemu-system-x86_64 vs Athlon64
@ 2006-04-12 12:08 Julian Seward
  2006-04-12 22:18 ` Fabrice Bellard
  0 siblings, 1 reply; 3+ messages in thread
From: Julian Seward @ 2006-04-12 12:08 UTC (permalink / raw)
  To: qemu-devel

[-- 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 --]

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

end of thread, other threads:[~2006-04-12 23:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-12 12:08 [Qemu-devel] Emulation differences, qemu-system-x86_64 vs Athlon64 Julian Seward
2006-04-12 22:18 ` Fabrice Bellard
2006-04-12 23:15   ` Julian Seward

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).