Commit 36cd9bc8 authored by Richard Henderson's avatar Richard Henderson Committed by Michael Tokarev
Browse files

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: 7d9e1ee4 ("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: default avatarRichard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 98899850

)
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 117f33c9
Showing with 1 addition and 1 deletion
+1 -1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment