Home
last modified time | relevance | path

Searched hist:b80bb016 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tcg/
H A Doptimize.cb80bb016 Tue Sep 11 05:26:23 CDT 2012 Aurelien Jarno <aurelien@aurel32.net> tcg/optimize: check types in copy propagation

The copy propagation doesn't check the types of the temps during copy
propagation. However TCG is using the mov_i32 for the i64 to i32
conversion and thus the two are not equivalent.

With this patch tcg_opt_gen_mov() doesn't consider two temps of
different type as copies anymore.

So far it seems the optimization was not aggressive enough to trigger
this bug, but it will be triggered later in this series once the copy
propagation is improved.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>