]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/arm: Fix SIGILL in tcg_out_qemu_st_direct
authorJoseph Burt <caseorum@gmail.com>
Sun, 21 Jan 2024 21:14:39 +0000 (21:14 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 25 Jan 2024 16:13:41 +0000 (19:13 +0300)
commit6f6492ab070f10843c881690cacc3bf2e051f9e5
tree114b84e79609081eb428fb30ec991ff3524d6e61
parent1e0f028de71dc6aea7103b40281d32f4f0ebbbb9
tcg/arm: Fix SIGILL in tcg_out_qemu_st_direct

When tcg_out_qemu_st_{index,direct} were merged, the direct case for
MO_64 was omitted, causing qemu_st_i64 to be encoded as 0xffffffff due
to underflow when adding h.base and h.index.

Fixes: 1df6d611bdc2 ("tcg/arm: Introduce HostAddress")
Signed-off-by: Joseph Burt <caseorum@gmail.com>
Message-Id: <20240121211439.100829-1-caseorum@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 9f6523e8e4689cafdbed7c10b7cf7c775b5a607b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/arm/tcg-target.c.inc