tcg/arm: Fix goto_tb for large translation blocks
commite41f1825b43796c3508ef309ed0b150ef89acc44
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 12 Feb 2024 20:38:18 +0000 (12 20:38 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 13 Feb 2024 17:42:45 +0000 (13 07:42 -1000)
tree06f9e099003a11e02172b059a22510a801823d18
parentc0e688153f299d5d493989c80bcc84c9cf36d6a6
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>
tcg/arm/tcg-target.c.inc