diff options
author | Anthony Liguori <aliguori@amazon.com> | 2013-10-18 10:01:08 -0700 |
---|---|---|
committer | Anthony Liguori <aliguori@amazon.com> | 2013-10-18 10:01:08 -0700 |
commit | cd22e320a01b790d158d915a45d930f9d0a4bc91 (patch) | |
tree | 8748cdedda78485196b452b01b68fb739bb44b58 | |
parent | 1680d485777ecf436d724631ea8722cc0c66990e (diff) | |
parent | ca529f8e13557cc2feb2eee3872d422712d9bcb0 (diff) |
Merge remote-tracking branch 'filippov/tags/20131015-xtensa' into staging
xtensa queue 2013-10-15
# gpg: Signature made Tue 15 Oct 2013 06:27:41 AM PDT using RSA key ID F83FA044
# gpg: Can't check signature: public key not found
# By Max Filippov
# Via Max Filippov
* filippov/tags/20131015-xtensa:
target-xtensa: add in_asm logging
Message-id: 1381844297-1728-1-git-send-email-jcmvbkbc@gmail.com
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
-rw-r--r-- | target-xtensa/translate.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c index 06641bb7d0..2d2df33115 100644 --- a/target-xtensa/translate.c +++ b/target-xtensa/translate.c @@ -3016,6 +3016,14 @@ void gen_intermediate_code_internal(XtensaCPU *cpu, gen_tb_end(tb, insn_count); *tcg_ctx.gen_opc_ptr = INDEX_op_end; +#ifdef DEBUG_DISAS + if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)) { + qemu_log("----------------\n"); + qemu_log("IN: %s\n", lookup_symbol(pc_start)); + log_target_disas(env, pc_start, dc.pc - pc_start, 0); + qemu_log("\n"); + } +#endif if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf; memset(tcg_ctx.gen_opc_instr_start + lj + 1, 0, |