Re: [Qemu-devel] Translation block identification.

2018-05-01 Thread Rafael Kioji
18 6:28 PM, Peter Maydell wrote: On 1 May 2018 at 11:20, Rafael Kioji wrote: This logging flag prints what I want. But I really wanted is to get this info inside the QEMU source code. Why am I not able to lookup the symbols in the translator.c file the way I showed? The -d in_asm logging is

Re: [Qemu-devel] Translation block identification.

2018-05-01 Thread Rafael Kioji
This logging flag prints what I want. But I really wanted is to get this info inside the QEMU source code. Why am I not able to lookup the symbols in the translator.c file the way I showed? Kind regards, Rafael On 5/1/2018 6:04 PM, Alex Bennée wrote: Rafael Kioji writes: Dear all, During

[Qemu-devel] Translation block identification.

2018-05-01 Thread Rafael Kioji
Dear all, During translation how can I identify what is the basic block of the guest code? I wanted to know whether the block being translated is the beginning of a function and get its name. My current approach involves looking up the symbol associated with the first PC of the translation b

[Qemu-devel] Difference between tcg_gen_ld_i64 and tcg_gen_qemu_ld_i64.

2018-04-29 Thread Rafael Kioji
Dear all, What is the difference between these two functions? They are located in the file "tcg/tcg-op.c". Here is their header: 1. static inline void tcg_gen_ld_i64(TCGv_i64 ret, TCGv_ptr arg2, tcg_target_long offset) 2. void tcg_gen_qemu_ld_i64(TCGv_i64 val, TCGv addr, TCGArg idx, TCGM