All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Schrober <franzschrober@yahoo.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] TCG jumping inside translation block
Date: Wed, 21 Aug 2013 13:20:04 -0700	[thread overview]
Message-ID: <521520F4.5040201@twiddle.net> (raw)
In-Reply-To: <1720618.BIM8jcXstt@sven-desktop>

On 08/21/2013 06:02 AM, Schrober wrote:
> Is qemu just recompiling the block again when it encounters a different entry 
> point to an already translated block? I am currently starring at the code in 
> translate-all.c and cpu-exec.c and don't seem to find the right part of the 
> code which would help to understand this basic concept. At least it seems to 
> me that labels are not used very often because it ruins the code optimization.

The primary misconception here is that each guest insn address can only be part
of one host TB.  We can and will have 2 TBs for the situation you describe.
One for I1-I3, and another for I2-I3.


r~

      parent reply	other threads:[~2013-08-21 20:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 13:02 [Qemu-devel] TCG jumping inside translation block Schrober
2013-08-21 15:29 ` Peter Maydell
2013-08-21 20:20 ` Richard Henderson [this message]

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=521520F4.5040201@twiddle.net \
    --to=rth@twiddle.net \
    --cc=franzschrober@yahoo.de \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.