target/arm: Fix offset for LD1R instructions
commitd0e372b0298f897993f831dbff7ad4f1c70f138e
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 16 Aug 2018 13:05:27 +0000 (16 14:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Aug 2018 13:05:27 +0000 (16 14:05 +0100)
tree85d7e8d8936132ef57d665e0a71af58fc9083d34
parent19f2acc915a0f8f443a959844540a6f09133cc96
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>
target/arm/translate-sve.c