qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] TCG jumping inside translation block


From: Richard Henderson
Subject: Re: [Qemu-devel] TCG jumping inside translation block
Date: Wed, 21 Aug 2013 13:20:04 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

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~



reply via email to

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