diff options
author | blueswir1 | 2008-07-16 13:51:15 +0200 |
---|---|---|
committer | blueswir1 | 2008-07-16 13:51:15 +0200 |
commit | c5f2f66835c8b42fc58c7af9a4454be708304cfa (patch) | |
tree | 61229b9f9e071c51672da9b010bd9f14ccbbf2e0 /target-sparc | |
parent | Remove unintended dereference, kills a warning (Jan Kiszka). (diff) | |
download | qemu-c5f2f66835c8b42fc58c7af9a4454be708304cfa.tar.gz qemu-c5f2f66835c8b42fc58c7af9a4454be708304cfa.tar.xz qemu-c5f2f66835c8b42fc58c7af9a4454be708304cfa.zip |
Flushw can generate exceptions, so save PC & NPC
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4876 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 4412363e3a..cbc4038b87 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -2346,6 +2346,7 @@ static void disas_sparc_insn(DisasContext * dc) break; } else if (xop == 0x2b) { /* rdtbr / V9 flushw */ #ifdef TARGET_SPARC64 + save_state(dc, cpu_cond); tcg_gen_helper_0_0(helper_flushw); #else if (!supervisor(dc)) |