diff options
author | Artyom Tarasenko <atar4qemu@gmail.com> | 2009-11-04 19:38:26 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-11-04 19:38:26 +0000 |
commit | 3e6ba503400c34cbe0f9ad6e289921688bf303a3 (patch) | |
tree | 0bfb80cad7b80cb90f1cf387c569b469e49f3f70 /vnc-auth-sasl.c | |
parent | 2d7adea4fe57a12f3b9f4b4761db2a90cb54173a (diff) |
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>
Diffstat (limited to 'vnc-auth-sasl.c')
0 files changed, 0 insertions, 0 deletions