qemu-patch-raspberry4/target-sparc
Artyom Tarasenko 3e6ba50340 Sparc: fix carry flag handling (Solaris bootblk fix)
The page 108 of the SPARC Version 8 Architecture Manual describes
that addcc and addxcc shall compute carry flag the same way.
The page 110 claims the same about subcc and subxcc instructions.
This patch fixes carry computation in corner cases and removes redundant code.
The most visible effect of the patch is enabling Solaris boot when using OBP.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
[blauwirbel@gmail.com: cleaned up formatting]
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-11-04 19:38:26 +00:00
..
cpu.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
exec.h sparc64: trap handling corrections 2009-07-12 08:46:54 +00:00
helper.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
helper.h Use dynamical computation for condition codes 2009-05-10 07:19:11 +00:00
machine.c Sparc64: replace tsptr with helper routine 2009-08-04 20:22:10 +00:00
op_helper.c Sparc: fix carry flag handling (Solaris bootblk fix) 2009-11-04 19:38:26 +00:00
TODO Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
translate.c sparc64-8bit-asi 2009-09-23 20:00:24 +00:00