aboutsummaryrefslogtreecommitdiff
path: root/dis-asm.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-09-16 13:12:21 +0200
committerAurelien Jarno <aurelien@aurel32.net>2012-09-21 19:53:16 +0200
commit1012740098d0307ce5d957ebbe9a7f020da7f574 (patch)
treef7be3fd3b6e8572b871bb6adf4e424b0b4bbe32c /dis-asm.h
parented22e6f30e7f8c723f9b1be30869b9c0368e3e4e (diff)
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 'dis-asm.h')
0 files changed, 0 insertions, 0 deletions