qemu-patch-raspberry4/tcg/mips
Aurelien Jarno c99d69694a tcg/mips: fix add2
The add2 code in the tcg_out_addsub2 function doesn't take into account
the case where rl == al == bl. In that case we can't compute the carry
after the addition. As it corresponds to a multiplication by 2, the
carry bit is the bit 31.

While this is a corner case, this prevents x86-64 guests to boot on a
MIPS host.

Cc: qemu-stable@nongnu.org
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2015-08-01 09:39:50 +02:00
..
tcg-target.c tcg/mips: fix add2 2015-08-01 09:39:50 +02:00
tcg-target.h tcg: add TCG_TARGET_TLB_DISPLACEMENT_BITS 2015-06-03 23:56:56 +02:00