]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/tcg: Don't use TARGET_LONG_BITS in decode_sleb128
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 30 Apr 2025 21:35:47 +0000 (14:35 -0700)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 7 May 2025 13:42:10 +0000 (16:42 +0300)
commit86b846f9027ff5bcdff06a6a64d3d99ae3469150
treef8604728be6b69c4a61552358b9f1ab37773b19f
parent8a9a7193143a75c54eb6c184e583c5c2b8935f18
accel/tcg: Don't use TARGET_LONG_BITS in decode_sleb128

When we changed decode_sleb128 from target_long to
int64_t, we failed to adjust the shift limit.

Cc: qemu-stable@nongnu.org
Fixes: c9ad8d27caa ("tcg: Widen gen_insn_data to uint64_t")
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 9401f91b9b0c46886388735b3f2033a9c254895a)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
accel/tcg/translate-all.c