target/ppc: Move SPR_DSISR setting to powerpc_excp
commit336e91f85332dda0ede4c1d15b87a19a0fb898a2
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 29 Jul 2021 23:17:35 +0000 (29 13:17 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Nov 2021 11:00:52 +0000 (2 07:00 -0400)
tree030e55b5313b873edb3f506d65e3c99b35884ff0
parentb414df757d73d0a1d37f14a866ff1338b93a4a27
target/ppc: Move SPR_DSISR setting to powerpc_excp

By doing this while sending the exception, we will have already
done the unwinding, which makes the ppc_cpu_do_unaligned_access
code a bit cleaner.

Update the comment about the expected instruction format.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/ppc/excp_helper.c