mirror of
https://github.com/gwenhael-le-moine/x49gp.git
synced 2024-12-27 21:58:33 +01:00
20 lines
529 B
Diff
20 lines
529 B
Diff
--- qemu-0.9.0/target-arm/op.c 2007-07-23 06:57:25.000000000 +0200
|
|
+++ qemu/target-arm/op.c 2007-07-23 06:58:25.000000000 +0200
|
|
@@ -819,7 +819,7 @@
|
|
int shift;
|
|
shift = PARAM1;
|
|
if (shift != 0) {
|
|
- env->CF = (T1 >> (32 - shift)) & 1;
|
|
+ env->CF = (T0 >> (32 - shift)) & 1;
|
|
T0 = T0 << shift;
|
|
}
|
|
env->NZF = T0;
|
|
@@ -832,7 +832,7 @@
|
|
|
|
shift = PARAM1;
|
|
if (shift == 0) {
|
|
- env->CF = ((uint32_t)shift) >> 31;
|
|
+ env->CF = ((uint32_t)T0) >> 31;
|
|
T0 = 0;
|
|
} else {
|
|
env->CF = (T0 >> (shift - 1)) & 1;
|