qemu-e2k/target-mips
Pavel Dovgaluk 9c708c7f9f 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.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
[leon.alrae@imgtec.com: avoid retranslation in linux-user SC, break lines
 which are over 80 chars, remove v3 changelog from the commit message]
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
2015-09-18 12:07:24 +01:00
..
cpu-qom.h
cpu.c cpu: Change cpu_exec_init() arg to cpu, not env 2015-07-09 15:20:40 +02:00
cpu.h target-mips: improve exception handling 2015-09-18 12:07:24 +01:00
dsp_helper.c
gdbstub.c
helper.c typofixes - v4 2015-09-11 10:45:43 +03:00
helper.h target-mips: improve exception handling 2015-09-18 12:07:24 +01:00
kvm_mips.h
kvm.c mips/kvm: Sign extend registers written to KVM 2015-07-16 20:00:20 +02:00
lmi_helper.c
machine.c target-mips: fix passing incompatible pointer type in machine.c 2015-07-28 08:57:50 +01:00
Makefile.objs target-mips: add Unified Hosting Interface (UHI) support 2015-06-26 09:08:50 +01:00
mips-defs.h target-mips: fix MIPS64R6-generic configuration 2015-07-15 14:07:10 +01:00
mips-semi.c target-mips: fix resource leak reported by Coverity 2015-07-15 14:07:25 +01:00
msa_helper.c target-mips: improve exception handling 2015-09-18 12:07:24 +01:00
op_helper.c target-mips: improve exception handling 2015-09-18 12:07:24 +01:00
TODO
translate_init.c target-mips: update mips32r5-generic into P5600 2015-08-13 16:21:12 +01:00
translate.c target-mips: improve exception handling 2015-09-18 12:07:24 +01:00