]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/optimize.c
tcg/optimize: add optimizations for ext_i32_i64 and extu_i32_i64 ops
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 27 Jul 2015 10:41:45 +0000 (12:41 +0200)
committerRichard Henderson <rth@twiddle.net>
Mon, 24 Aug 2015 18:10:54 +0000 (11:10 -0700)
commit8bcb5c8f34f9215d4f88f388c7ff14c9bd5cecd3
tree8f0dcb356b6144ce20c61899c1267fc9c6db6ebb
parent4f2331e5b67af8172419eb1c8db510b497b30a7b
tcg/optimize: add optimizations for ext_i32_i64 and extu_i32_i64 ops

They behave the same as ext32s_i64 and ext32u_i64 from the constant
folding and zero propagation point of view, except that they can't
be replaced by a mov, so we don't compute the affected value.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/optimize.c