commit | 5f7319cd84ecb82f65c67dd1033ec27647fcb7db | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Sun Oct 28 19:34:03 2012 +0100 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Wed Oct 31 22:20:46 2012 +0100 |
tree | 8e3435bdeef8f0d1363c6681f1e7c3d75d6b7c6d | |
parent | 05993cd05fcdebc75f8432cf6ad558726dc8ec15 [diff] |
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>