target/arm: Don't set syndrome ISS for loads and stores with writeback
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Jul 2022 12:33:23 +0000 (13:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 18 Jul 2022 12:20:14 +0000 (13:20 +0100)
commit53ae2fdef1f5661cbaa2ea571c517f98e6041cb8
treee4bc3aa6c600c0c462b25c0617e61ee75c70d573
parent99638ba9d86b7707adabbf0b223a6e0ae144cd88
target/arm: Don't set syndrome ISS for loads and stores with writeback

The architecture requires that for faults on loads and stores which
do writeback, the syndrome information does not have the ISS
instruction syndrome information (i.e. ISV is 0).  We got this wrong
for the load and store instructions covered by disas_ldst_reg_imm9().
Calculate iss_valid correctly so that if the insn is a writeback one
it is false.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1057
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220715123323.1550983-1-peter.maydell@linaro.org
target/arm/translate-a64.c