qemu-e2k/target
Emilio G. Cota af00be490b target/sparc: convert to DisasContextBase
Notes:

- pc and npc are left unmodified, since they can point to out-of-TB
  jump targets.

- Got rid of last_pc in gen_intermediate_code(), using base.pc_next
  instead. Only update pc_next (1) on a breakpoint (so that tb->size
  includes the insn), and (2) after reading the current instruction
  from memory. This allows us to use base.pc_next in the BP check,
  which is what the translator loop does.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2018-05-09 10:12:21 -07:00
..
alpha translator: merge max_insns into DisasContextBase 2018-05-09 10:12:21 -07:00
arm translator: merge max_insns into DisasContextBase 2018-05-09 10:12:21 -07:00
cris target/cris: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
hppa translator: merge max_insns into DisasContextBase 2018-05-09 10:12:21 -07:00
i386 translator: merge max_insns into DisasContextBase 2018-05-09 10:12:21 -07:00
lm32 target/lm32: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
m68k m68k: remove dead code (Coverity CID1390617) 2018-05-01 15:37:20 +02:00
microblaze target/microblaze: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
mips target/mips: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
moxie icount: fix cpu_restore_state_from_tb for non-tb-exit cases 2018-04-11 09:05:22 +10:00
nios2 cpu: get rid of unused cpu_init() defines 2018-03-19 14:10:36 -03:00
openrisc icount: fix cpu_restore_state_from_tb for non-tb-exit cases 2018-04-11 09:05:22 +10:00
ppc translator: merge max_insns into DisasContextBase 2018-05-09 10:12:21 -07:00
riscv target/riscv: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
s390x target/s390x: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
sh4 target/sh4: convert to TranslatorOps 2018-05-09 10:12:21 -07:00
sparc target/sparc: convert to DisasContextBase 2018-05-09 10:12:21 -07:00
tilegx target/tilegx: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
tricore icount: fix cpu_restore_state_from_tb for non-tb-exit cases 2018-04-11 09:05:22 +10:00
unicore32 target/unicore32: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
xtensa target/xtensa: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00