提交 502e64fe 编写于 作者: A Aurelien Jarno

target-arm: fix strexd

Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册