Commit 5f7319cd authored by Aurelien Jarno's avatar Aurelien Jarno

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: default avatarRichard Henderson <>
Signed-off-by: default avatarAurelien Jarno <>
parent 05993cd0
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment