Skip to contentSkip to conversation

adress of translation block

Qemu-devel oussema ben khedher 2 participants 2 messages Mar 1, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

hi
i need help because im really blocked in my educational project
my problem is i how can i find the adress of the  instruction of the end of translation block in qemu (usually it's branch instruction) or the adress of the translation block your advice will be very helpful for me  .thanks

#2 lore raw
Quoted 4 lines · oussema ben khedher

hi
i need help because im really blocked in my educational project
my problem is i how can i find the adress of the instruction of the end of translation block in qemu (usually it's branch instruction) or the adress of the translation block your advice will be very helpful for me .thanks

Rather than continuously spamming the list with the same question you might find it better to ask on the IRC channel (OFTC/#qemu). While we do want to help people you can't expect immediate feedback on list questions, especially when its not clear what you are after.

As to the address of the instruction at the end of the block why do you need it?

The blocks usually end with a branch taken/not taken so most have 2 exit points. If you enable -d nochain then the TBs will return to the run-loop after every basic block executed. With TB chaining in effect these jumps are directly patched to jump to the next translated block.

Have you read:

http://wiki.qemu-project.org/Documentation/TCG

? These describe how the TCG works and the general code flow.

--
Alex Bennée