]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Fix aa64 ldp register writeback
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 4 Sep 2017 14:21:56 +0000 (15:21 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 12 Sep 2017 16:24:55 +0000 (11:24 -0500)
commit728bfa3273ebaaab51bb41467a20790c7e5f5268
tree6ce4f0c3f43464ba5abfe793843fd06c739ff9bf
parente1b4750f06a8a04c958d98e9a15e717b18a20c54
target/arm: Fix aa64 ldp register writeback

For "ldp x0, x1, [x0]", if the second load is on a second page and
the second page is unmapped, the exception would be raised with x0
already modified.  This means the instruction couldn't be restarted.

Cc: qemu-arm@nongnu.org
Cc: qemu-stable@nongnu.org
Reported-by: Andrew <andrew@fubar.geek.nz>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20170825224833.4463-1-richard.henderson@linaro.org
Fixes: https://bugs.launchpad.net/qemu/+bug/1713066
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
[PMM: tweaked comment format]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 3e4d91b94ce400326fae0850578d9e9f30a71adb)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/arm/translate-a64.c