提交 7a774c87 编写于 作者: B balrog

Use the same offset for all STR and STM instructions that store r15, as...

Use the same offset for all STR and STM instructions that store r15, as specified in ARM ARM (patch from Chris McNett).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2970 c046a42c-6fe2-441c-8c8c-71466251a162
上级 c9bac22c
......@@ -2837,8 +2837,8 @@ static void disas_arm_insn(CPUState * env, DisasContext *s)
} else {
/* store */
if (i == 15) {
/* special case: r15 = PC + 12 */
val = (long)s->pc + 8;
/* special case: r15 = PC + 8 */
val = (long)s->pc + 4;
gen_op_movl_TN_im[0](val);
} else if (user) {
gen_op_movl_T0_user(i);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册