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~