]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Fix offset for LD1R instructions
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 16 Aug 2018 13:05:27 +0000 (14:05 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Mar 2019 02:02:54 +0000 (21:02 -0500)
commite97358cae4de99cbced24e487dabff53325ab5f0
tree7b9429f90f6249ff6f5cb95108caf6e7f5050993
parentca276173c9e499731839c4aea604bb9102cfe3c6
target/arm: Fix offset for LD1R instructions

The immediate should be scaled by the size of the memory reference,
not the size of the elements into which it is loaded.

Cc: qemu-stable@nongnu.org (3.0.1)
Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit d0e372b0298f897993f831dbff7ad4f1c70f138e)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/arm/translate-sve.c