summaryrefslogtreecommitdiffstats
path: root/scripts/modules/module_block.py
diff options
context:
space:
mode:
authorRichard Henderson2018-08-16 15:05:27 +0200
committerPeter Maydell2018-08-16 15:05:27 +0200
commit19f2acc915a0f8f443a959844540a6f09133cc96 (patch)
treea8188298065d9cfe82e90867b8d97d98c3b780af /scripts/modules/module_block.py
parenttarget/arm: Fix typo in helper_sve_ld1hss_r (diff)
downloadqemu-19f2acc915a0f8f443a959844540a6f09133cc96.tar.gz
qemu-19f2acc915a0f8f443a959844540a6f09133cc96.tar.xz
qemu-19f2acc915a0f8f443a959844540a6f09133cc96.zip
target/arm: Fix sign-extension in sve do_ldr/do_str
The expression (int) imm + (uint32_t) len_align turns into uint32_t and thus with negative imm produces a memory operation at the wrong offset. None of the numbers involved are particularly large, so change everything to use int. 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> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions