target/openrisc: Set PC to cpu state on FPU exception
authorStafford Horne <shorne@gmail.com>
Tue, 14 Feb 2023 09:41:29 +0000 (18:41 +0900)
committerStafford Horne <shorne@gmail.com>
Thu, 11 May 2023 14:40:03 +0000 (15:40 +0100)
commit9156ca76cb39ff1d72e701dec4a907f73592d88f
tree362e0706457c8c89dc34ddb96d644b5808d1b2e1
parent08f021de3af599b8ca4c745f324a3559dc2990d3
target/openrisc: Set PC to cpu state on FPU exception

Store the PC to ensure the correct value can be read in the exception
handler.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/openrisc/fpu_helper.c