unicorn/qemu/target-mips
Pavel Dovgaluk 011861cd0e
target-mips: improve exception handling
This patch improves exception handling in MIPS.
Instructions generate several types of exceptions.
When exception is generated, it breaks the execution of the current
translation block. Implementation of the exceptions handling does not
correctly restore icount for the instruction which caused the exception.
In most cases icount will be decreased by the value equal to the size of
TB. This patch passes pointer to the translation block internals to the
exception handler. It allows correct restoring of the icount value.

Backports commit 9c708c7f9fbb813a3fac02f2728e51e62f2f5ffc from qemu
2018-02-17 15:23:53 -05:00
..
cpu-qom.h remove slow cpu QOM casts (#815) 2017-05-02 14:56:39 +08:00
cpu.c cpu: Change cpu_exec_init() arg to cpu, not env 2018-02-17 15:23:18 -05:00
cpu.h target-mips: improve exception handling 2018-02-17 15:23:53 -05:00
dsp_helper.c
helper.c target-mips: fix offset calculation for Interrupts 2018-02-17 15:23:23 -05:00
helper.h target-mips: improve exception handling 2018-02-17 15:23:53 -05:00
lmi_helper.c
Makefile.objs
mips-defs.h target-mips: fix MIPS64R6-generic configuration 2018-02-17 15:23:21 -05:00
msa_helper.c target-mips: improve exception handling 2018-02-17 15:23:53 -05:00
op_helper.c target-mips: improve exception handling 2018-02-17 15:23:53 -05:00
TODO
translate_init.c target-mips: update mips32r5-generic into P5600 2018-02-17 15:23:27 -05:00
translate.c target-mips: improve exception handling 2018-02-17 15:23:53 -05:00
unicorn.c Merge branch 'master' into msvc2 2017-04-21 01:17:00 +08:00
unicorn.h armeb: rename arm's and mips's *REGS_STORAGE_SIZE to avoid big-endian and little-endian's duplicated definition. 2017-03-15 22:25:35 +08:00