[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] Emulation of stdbrx and ldbrx
From: |
Alexander Graf |
Subject: |
Re: [Qemu-ppc] Emulation of stdbrx and ldbrx |
Date: |
Fri, 2 Dec 2011 13:38:53 +0100 |
On 02.12.2011, at 13:12, Thomas Huth wrote:
>
> Hi all!
>
> I am currently trying to get some code running on qemu-system-ppc64.
> This code uses the stdbrx and ldbrx instructions for loading and
> storing 64-bit values in little endian byte order. However, my code
> crashes when it tries to execute these instructions (I am getting a
> Program Exception).
>
> Could it be that these two instructions are not emulated by QEMU yet?
> I grep'ed for those instructions in the QEMU sources, but I only found
> lhbrx, lwbrx, sthbrx and stwbrx in translate.c so far... Any ideas?
Yes, we don't implement the LE storage instructions yet. They are reasonably
new and while we do have -cpu POWER7, it's mostly there to make KVM happy :).
I would however love to apply patches for these instructions ;).
Alex