aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2009-12-24 00:18:23 +0100
committerAurelien Jarno <aurelien@aurel32.net>2009-12-24 00:18:23 +0100
commit502e64fe23f19c086d42f6178cdda19e58996080 (patch)
treeed5c77d9b775ab157a6d6c36b9a4fb6f41728984
parentf7001a3b9e60da80e4d9772a103ea6a06650b649 (diff)
target-arm: fix strexd
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--target-arm/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 45bf77256f..5cf3e06ba6 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -6622,7 +6622,7 @@ static void disas_arm_insn(CPUState * env, DisasContext *s)
gen_store_exclusive(s, rd, rm, 15, addr, 2);
break;
case 1: /* strexd */
- gen_store_exclusive(s, rd, rm, rm + 1, addr, 2);
+ gen_store_exclusive(s, rd, rm, rm + 1, addr, 3);
break;
case 2: /* strexb */
gen_store_exclusive(s, rd, rm, 15, addr, 0);