I've reached a point where *all* targets must use the translator loop.
Do that, plus some other obvious cleanups.
Changes for v3:
* Improve the commentary on patch 4 (pmm).
* Inline handle_instruction.
* Use pc_next for pc+4 (pmm).
Changes for v2:
* Fix (drop) singlestep check for max_insns.
We already do that generically.
r~
Richard Henderson (9):
target/nios2: Replace DISAS_TB_JUMP with DISAS_NORETURN
target/nios2: Use global cpu_env
target/nios2: Use global cpu_R
target/nios2: Add DisasContextBase to DisasContext
target/nios2: Convert to TranslatorOps
target/nios2: Remove assignment to env in handle_instruction
target/nios2: Clean up goto in handle_instruction
target/nios2: Inline handle_instruction
target/nios2: Use pc_next for pc + 4
target/nios2/translate.c | 318 +++++++++++++++++++--------------------
1 file changed, 153 insertions(+), 165 deletions(-)
--
2.25.1