qemu-e2k/target-sparc
Aurelien Jarno 0fcec41eec target-sparc: fix udiv(cc) and sdiv(cc)
Since commit 5a4bb580cd, Xorg crashes on
a Debian Etch image. The commit itself is fine, but it triggers a bug
due to wrong computation of flags for udiv(cc) and sdiv(cc).

This patch only compute cc_src2 for the cc version of udiv/sdiv. It
also moves the update of cc_dst and cc_op to the helper, as it is
faster doing it here when there is already an helper.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-12-28 18:44:51 +00:00
..
TODO Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
cpu.h Sparc: implement monitor command 'info tlb' 2010-12-19 13:42:56 +00:00
exec.h move cpu_pc_from_tb to target-*/exec.h 2010-07-03 09:48:12 +03:00
helper.c Sparc: implement monitor command 'info tlb' 2010-12-19 13:42:56 +00:00
helper.h target-sparc: fix udiv(cc) and sdiv(cc) 2010-12-28 18:44:51 +00:00
machine.c sparc: Fix lazy flag calculation on interrupts, refactor 2010-05-09 20:19:04 +00:00
op_helper.c target-sparc: fix udiv(cc) and sdiv(cc) 2010-12-28 18:44:51 +00:00
translate.c target-sparc: fix udiv(cc) and sdiv(cc) 2010-12-28 18:44:51 +00:00