]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/arm: Fix goto_tb for large translation blocks
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 12 Feb 2024 20:38:18 +0000 (20:38 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 14 Feb 2024 18:17:26 +0000 (21:17 +0300)
commit181e54871574bf5aa10b5a44fec94f198bc912ce
tree043279ad3d8f49ef39e67636e50fe540e3caf18e
parente5f105655c226262d9d7529dc8ee70402d9ef4ad
tcg/arm: Fix goto_tb for large translation blocks

Correct arithmetic for separating high and low
on a large negative number.

Cc: qemu-stable@nongnu.org
Fixes: 79ffece4447 ("tcg/arm: Implement direct branch for goto_tb")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1714
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit e41f1825b43796c3508ef309ed0b150ef89acc44)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/arm/tcg-target.c.inc