aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-02 20:43:01 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-02 20:43:01 +0000
commit78573df6b28bf1419aeb98a8951bde30a0030fba (patch)
tree0139e023029db882eb9823b87355dcc1b3b75fbb /target-arm
parent9f0777ed8812ac98b32ab55bbf87056ba913f8b6 (diff)
downloadqemu-78573df6b28bf1419aeb98a8951bde30a0030fba.zip
qemu-78573df6b28bf1419aeb98a8951bde30a0030fba.tar.gz
qemu-78573df6b28bf1419aeb98a8951bde30a0030fba.tar.bz2
SBCS fix (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1264 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/op.c b/target-arm/op.c
index dc1c734..813c285 100644
--- a/target-arm/op.c
+++ b/target-arm/op.c
@@ -190,10 +190,10 @@ void OPPROTO op_ ## sbc ## l_T0_T1_cc(void) \
src1 = T0; \
if (!env->CF) { \
T0 = T0 - T1 - 1; \
- env->CF = src1 >= T1; \
+ env->CF = src1 > T1; \
} else { \
T0 = T0 - T1; \
- env->CF = src1 > T1; \
+ env->CF = src1 >= T1; \
} \
env->VF = (src1 ^ T1) & (src1 ^ T0); \
env->NZF = T0; \