On 05/30/2014 01:56 AM, Jack Biggs wrote:
Hi all,
I'm trying to add some arbitrary code to the end of each translation block, and
I wanted to confirm my suspicion that each translation block ends in a jmp
instruction, and that each translation block ends (or jumps to another TB) with
the call to gen_jmp_tb. My guest is i386, but if this is architecture-specific
I'd like to know more about per-target semantics.
No, not every tb ends with gen_jmp_tb. Indeed, only those for which we have an
immediate address end that way. Plenty of tb's end with indirect branches, or
for a variety of other reasons.
Certainly gen_jmp_tb is specific to the i386 translator.
r~