]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/i386: Adjust type of tlb_mask
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 20 Mar 2023 16:36:31 +0000 (09:36 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 17 May 2023 03:13:51 +0000 (20:13 -0700)
commitc60ad6e3b9be0c9622811715ffdd921bfd6ea7d2
tree94d9bfdcce9f6ce89edb849d0688dd593274221e
parentb2485530d8873f8c3a4f32bf718a52527e7d2981
tcg/i386: Adjust type of tlb_mask

Because of its use on tgen_arithi, this value must be a signed
32-bit quantity, as that is what may be encoded in the insn.
The truncation of the value to unsigned for 32-bit guests is
done via the REX bit via 'trexw'.

Removes the only uses of target_ulong from this tcg backend.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target.c.inc