]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/i386: Conditionalize tcg_out_extu_i32_i64
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 6 Apr 2023 02:00:43 +0000 (19:00 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 17 May 2023 03:13:51 +0000 (20:13 -0700)
commitb2485530d8873f8c3a4f32bf718a52527e7d2981
treee91ccd8571693356a0c899e9b9efc22d8b1b1b39
parent7a9ccb869c31430ac8a852ae45ea95023b2d0d34
tcg/i386: Conditionalize tcg_out_extu_i32_i64

Since TCG_TYPE_I32 values are kept zero-extended in registers, via
omission of the REXW bit, we need not extend if the register matches.
This is already relied upon by qemu_{ld,st}.

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