target-sh4: optimize exceptions
commitfd4bab102c14171f8a5a6b04def6434b75a658a2
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:18 +0000 (14 20:39 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:18 +0000 (14 20:39 +0100)
tree33cfe40125bdc27090ab0acaffd3db31916c850f
parent17075f10ff9e2c8bd59ecbf9569421e437707e43
target-sh4: optimize exceptions

As exception is not the normal path, don't bother saving PC, before
raising one, instead rely on code retranslation to get the CPU state.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-sh4/op_helper.c
target-sh4/translate.c