]> git.proxmox.com Git - qemu.git/commit
target-sh4: fix fpu disabled/illegal exception
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 11 Jan 2011 15:13:34 +0000 (16:13 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 11 Jan 2011 16:25:24 +0000 (17:25 +0100)
commit86865c5ff16bd1a2ef2b9ce217a7bb8f39e2126c
treebeba6e94dc1b7b7eea1425dfedf961f3134e6e39
parent05bf441eb69a813d3893174d54faa6afa8c0d39b
target-sh4: fix fpu disabled/illegal exception

Illegal instructions in a slot delay should generate a slot illegal
instruction exception instead of an illegal instruction exception.

The current PC should be saved before generating such an exception,
but should not be corrected if in a delay slot, given it's already
done in the exception handler do_interrupt().

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