diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2009-09-29 09:47:14 -0300 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2009-09-29 09:47:14 -0300 |
commit | 044034ffe753189bc21868f7cfc18db2e69c4bc1 (patch) | |
tree | 896dae5fa88589e22834b58613244a1b02938d15 /target-ppc | |
parent | Merge commit 'add16157d72454347feb240007da4f90b9d9bae6' into upstream-merge (diff) | |
parent | target-ppc: log instructions start in TCG code (diff) | |
download | qemu-kvm-044034ffe753189bc21868f7cfc18db2e69c4bc1.tar.gz qemu-kvm-044034ffe753189bc21868f7cfc18db2e69c4bc1.tar.bz2 qemu-kvm-044034ffe753189bc21868f7cfc18db2e69c4bc1.zip |
Merge commit '731c54f86988d3f28268f184fabfe9b2a32fb5d3' into upstream-merge
* commit '731c54f86988d3f28268f184fabfe9b2a32fb5d3':
target-ppc: log instructions start in TCG code
target-mips: log instructions start in TCG code
Win32: avoid a warning
BSD user: suppress a warning
BSD user: implement GUEST_BASE
tcg/i386: generates dec/inc instead of sub/add when possible
tcg/i386: optimize and $0xff(ff), reg
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/translate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 8844ad275..d4e81ce89 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -9032,6 +9032,8 @@ static inline void gen_intermediate_code_internal(CPUState *env, LOG_DISAS("translate opcode %08x (%02x %02x %02x) (%s)\n", ctx.opcode, opc1(ctx.opcode), opc2(ctx.opcode), opc3(ctx.opcode), little_endian ? "little" : "big"); + if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP))) + tcg_gen_debug_insn_start(ctx.nip); ctx.nip += 4; table = env->opcodes; num_insns++; |