Commit 502e64fe authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

target-arm: fix strexd


Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent f7001a3b
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment