qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: Baojun Wang <wangbj@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Misbehavior of qemu ppc tcg/translation?
Date: Wed, 15 Jul 2009 19:34:51 +0300	[thread overview]
Message-ID: <f43fc5580907150934n12a38e7gef270dfd1e72ad42@mail.gmail.com> (raw)
In-Reply-To: <3cdfa5bc0907150833w4bf27bfj283242a7e0b5eb9a@mail.gmail.com>

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

On 7/15/09, Baojun Wang <wangbj@gmail.com> 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?

[-- Attachment #2: 0001-PPC-stop-code-generation-when-we-reach-a-branch.patch --]
[-- Type: application/x-patch, Size: 1163 bytes --]

  parent reply	other threads:[~2009-07-15 16:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15 15:33 [Qemu-devel] Misbehavior of qemu ppc tcg/translation? Baojun Wang
2009-07-15 15:35 ` [Qemu-devel] " Baojun Wang
2009-07-15 16:34 ` Blue Swirl [this message]
2009-07-16 11:49   ` [Qemu-devel] " Baojun Wang

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=f43fc5580907150934n12a38e7gef270dfd1e72ad42@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=wangbj@gmail.com \
    /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 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).