summaryrefslogtreecommitdiffstats
path: root/xen-stub.c
diff options
context:
space:
mode:
authorAurelien Jarno2012-09-16 13:12:21 +0200
committerAurelien Jarno2012-09-21 19:53:16 +0200
commit1012740098d0307ce5d957ebbe9a7f020da7f574 (patch)
treef7be3fd3b6e8572b871bb6adf4e424b0b4bbe32c /xen-stub.c
parenttarget-sh4: remove gen_clr_t() and gen_set_t() (diff)
downloadqemu-1012740098d0307ce5d957ebbe9a7f020da7f574.tar.gz
qemu-1012740098d0307ce5d957ebbe9a7f020da7f574.tar.xz
qemu-1012740098d0307ce5d957ebbe9a7f020da7f574.zip
target-sh4: rework exceptions handling
Since commit fd4bab102 PC is restored in case of exception through code retranslation. While it is clearly the thing to do in case it is not not known if an helper is going to trigger an exception or not (e.g. for load/store, FPU, etc.), it just make things slower when the exception is already known at translation time. Partially revert this commit and save PC in the TCG code. Set bstate to BS_BRANCH to not generate TCG exit code. Micro-optimize the sleep helper. Make all the exception helpers to call raise_exception and mark it as noreturn. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'xen-stub.c')
0 files changed, 0 insertions, 0 deletions