diff options
author | Emilio G. Cota <cota@braap.org> | 2018-02-14 21:16:30 -0500 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-05-09 10:12:21 -0700 |
commit | af00be490b30d7f576d12ac7b2bc5406ca6fda3f (patch) | |
tree | 0c125b4f2d33fd93c536527a4d942b99f2a1f4c1 /dtc | |
parent | c5e6ccdf6c8d32d3a45d9dca4d6847dcff741882 (diff) |
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>
Diffstat (limited to 'dtc')
0 files changed, 0 insertions, 0 deletions