]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-mips: restore CPU state after an FPU exception
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 28 Oct 2012 18:34:03 +0000 (19:34 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 31 Oct 2012 21:20:46 +0000 (22:20 +0100)
commit5f7319cd84ecb82f65c67dd1033ec27647fcb7db
tree8e3435bdeef8f0d1363c6681f1e7c3d75d6b7c6d
parent05993cd05fcdebc75f8432cf6ad558726dc8ec15
target-mips: restore CPU state after an FPU exception

Rework *raise_exception*() functions so that they can be called from
other helpers, passing the return address as an argument.

Use do_raise_exception() function in update_fcr31() to correctly restore
the CPU state after an FPU exception.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/op_helper.c