commit | 78573df6b28bf1419aeb98a8951bde30a0030fba | [log] [tgz] |
---|---|---|
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Wed Feb 02 20:43:01 2005 +0000 |
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Wed Feb 02 20:43:01 2005 +0000 |
tree | 0139e023029db882eb9823b87355dcc1b3b75fbb | |
parent | 9f0777ed8812ac98b32ab55bbf87056ba913f8b6 [diff] [blame] |
SBCS fix (Paul Brook) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1264 c046a42c-6fe2-441c-8c8c-71466251a162
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 @@ 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; \