qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Question about gen_jmp_tb


From: Richard Henderson
Subject: Re: [Qemu-devel] Question about gen_jmp_tb
Date: Fri, 30 May 2014 09:25:37 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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~



reply via email to

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