[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Misbehavior of qemu ppc tcg/translation?
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] Misbehavior of qemu ppc tcg/translation? |
Date: |
Wed, 15 Jul 2009 19:34:51 +0300 |
On 7/15/09, Baojun Wang <address@hidden> wrote:
> hi, list:
>
> I hope the following example is self-explained, in the assembler
> code, we can use instruction like (instruction-as-data?):
>
> 100000b4: 10 00 12 34 .long 0x10001234
>
> but the ppc translator set the exception flag and raise a PROGRAM
> exception later, however on real machine, if the above instruction is
> never ran, then everything should be OK. Thus the ppc translator raise
> the exception too early? (I think it should only raise the PROGRAM
> exception until tcg really trying to exec the instruction, but not on
> translation time)
Would the attached patch fix the problem?
0001-PPC-stop-code-generation-when-we-reach-a-branch.patch
Description: Source code patch