target/microblaze: Use cc->do_unaligned_access
commitab0c8d0f5b3377eba2c14116e199573583ea0089
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 21 Aug 2020 03:29:01 +0000 (20 20:29 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 1 Sep 2020 14:43:35 +0000 (1 07:43 -0700)
tree48fd6496c539bc41bccce03399542336767a6365
parent2271a6ac0a075d859b71551626e3cae9817ba7da
target/microblaze: Use cc->do_unaligned_access

This fixes the problem in which unaligned stores succeeded,
but then we raised the exception after modifying memory.
Store the ESS for the unaligned data access in the iflags
for the insn, so that it can be found during unwind.

Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/microblaze/cpu.c
target/microblaze/cpu.h
target/microblaze/helper.c
target/microblaze/helper.h
target/microblaze/op_helper.c
target/microblaze/translate.c