提交 c5f2f668 编写于 作者: B blueswir1

Flushw can generate exceptions, so save PC & NPC

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4876 c046a42c-6fe2-441c-8c8c-71466251a162
上级 59aa3bbf
...@@ -2346,6 +2346,7 @@ static void disas_sparc_insn(DisasContext * dc) ...@@ -2346,6 +2346,7 @@ static void disas_sparc_insn(DisasContext * dc)
break; break;
} else if (xop == 0x2b) { /* rdtbr / V9 flushw */ } else if (xop == 0x2b) { /* rdtbr / V9 flushw */
#ifdef TARGET_SPARC64 #ifdef TARGET_SPARC64
save_state(dc, cpu_cond);
tcg_gen_helper_0_0(helper_flushw); tcg_gen_helper_0_0(helper_flushw);
#else #else
if (!supervisor(dc)) if (!supervisor(dc))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册