]> xenbits.xensource.com Git - qemu-xen.git/commit
tcg/i386: Set P_REXW in tcg_out_addi_ptr
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 12 May 2023 17:12:43 +0000 (18:12 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 17 May 2023 09:27:58 +0000 (12:27 +0300)
commit36cd9bc8e2817dd5ae9cc7c427ec3a822eb1169d
tree71e6380e9f19f58167fc0d83d007c15c05e16a04
parent117f33c9a76791f436624ef21c2562c928b4c86f
tcg/i386: Set P_REXW in tcg_out_addi_ptr

The REXW bit must be set to produce a 64-bit pointer result; the
bit is disabled in 32-bit mode, so we can do this unconditionally.

Fixes: 7d9e1ee424b0 ("tcg/i386: Adjust assert in tcg_out_addi_ptr")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1592
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1642
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 988998503bc6d8c03fbea001a0513e8372fddf28)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/i386/tcg-target.c.inc