qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] qemu crashes and freezes on x86_64/amd64 host


From: Bob Deblier
Subject: Re: [Qemu-devel] qemu crashes and freezes on x86_64/amd64 host
Date: Sat, 09 Oct 2004 07:29:53 +0200

On Sat, 2004-10-09 at 02:22, Karl Magdsick wrote:
> What is your compiler target when creating the qemu executible?

Native, i.e. x86_64-linux-gnu.

> My understanding is that almost all of the instructions in 64-bit mode
> are reverse-compatible with 32-bit mode, but a few have changed
> slightly.  If your qemu executible is compiled for 64-bit mode (and is
> therefore being run in 64-bit usermode), but the jit is generating
> 32-bit code, this could be problematic for a small number of
> instructions.  I have no direct knowledge of the differences between
> the instruction encodings for 32-bit and 64-bit modes, just hearsay.
> 
> Just a guess.

>From looking at the code, I don't get the impression that that's the
case. It may just be that some of the code isn't 64-bit clean, i.e. that
there are places where the coders have assumed that sizeof(pointer) = 4,
etc.

More investigating *sigh*

Bob






reply via email to

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