aboutsummaryrefslogtreecommitdiff
path: root/qemu-lock.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-05-12 11:04:26 -0700
committerBlue Swirl <blauwirbel@gmail.com>2010-05-19 19:04:21 +0000
commit5a4bb580cdb10b066f9fd67658b31cac4a4ea5e5 (patch)
tree23b7d278c18b7aa8b48753c39520ae77d681dc38 /qemu-lock.h
parent4c1a0d8244116e4658b24858808c25c11bdf506a (diff)
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>
Diffstat (limited to 'qemu-lock.h')
0 files changed, 0 insertions, 0 deletions