qemu/target-sparc
Richard Henderson 5a4bb580cd target-sparc: Simplify ICC generation.
Use int32 types instead of target_ulong when computing ICC.  This
simplifies the generated code for 32-bit host and 64-bit guest.
Use the same simplified expressions for ICC as were already used
for XCC in carry flag generation.

Simplify the ADD carry generation to not consider a possible carry-in.
Use the more complex carry computation for ADDX only.  Use the same
carry algorithm for the XCC result of ADDX.  Similarly for SUB/SUBX.

Use the ADD carry generation functions for TADD/TADDTV.  Similarly
for SUB and TSUB/TSUBTV.

Tidy the code with respect to CODING_STYLE.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-05-19 19:04:21 +00:00
..
cpu.h sparc64: fix TT_WOTHER value 2010-05-16 07:54:48 +00:00
exec.h sparc: move DT and QT defines to op_helper.c 2010-05-16 08:33:02 +00:00
helper.c target-sparc: Fix wrong printf argument 2010-05-12 19:20:11 +00:00
helper.h target-sparc: Fix compilation with --enable-debug. 2010-05-19 19:03:33 +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: Simplify ICC generation. 2010-05-19 19:04:21 +00:00
TODO Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
translate.c sparc: lazy C flag calculation 2010-05-09 15:40:24 +00:00