target/arm: Fix PC test for LDM (exception return)
commit9d090d17234058f55c3c439d285db78c94d7d4de
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 1 Mar 2019 20:29:21 +0000 (1 12:29 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Mar 2019 15:55:07 +0000 (5 15:55 +0000)
treee4a01183f6b3267872058c276d2cf34b0a909a1a
parent0984a157c1c053394adbf64ed7de97f1aebe6a2d
target/arm: Fix PC test for LDM (exception return)

Found by inspection: Rn is the base register against which the
load began; I is the register within the mask being processed.
The exception return should of course be processed from the loaded PC.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190301202921.21209-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c