target-arm: fix strexd

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2009-12-24 00:18:23 +01:00
parent f7001a3b9e
commit 502e64fe23

View File

@ -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);