Searched hist:af3cbfbe8018ccc16fb3a0048e928f66f0d05e87 (Results 1 – 1 of 1) sorted by relevance
/qemu/tcg/ |
H A D | tcg.c | 450445d543a33fdb1d18a18ab7669a33dc1ca7ae Tue May 13 21:50:18 UTC 2014 Richard Henderson <rth@twiddle.net> tcg: Fix tcg_reg_alloc_mov vs no-op truncation
Commit af3cbfbe8018ccc16fb3a0048e928f66f0d05e87 hoisted some "common" loads of the temporary type, forgetting that the types could differ during truncating moves. This affects the correctness of the memory offset on big-endian hosts.
Tested-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net> af3cbfbe8018ccc16fb3a0048e928f66f0d05e87 Tue Apr 29 16:07:05 UTC 2014 Richard Henderson <rth@twiddle.net> tcg: Use tcg_target_available_regs in tcg_reg_alloc_mov
The move opcodes are special in that their constraints must cover all available registers. So instead of checking the constraints, just use the available registers.
Signed-off-by: Richard Henderson <rth@twiddle.net>
|