Skip to contentSkip to conversation

[4876] Flushw can generate exceptions, so save PC & NPC

Qemu-devel Blue Swirl 1 participant 1 message Jul 16, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 4876

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4876
Author:   blueswir1
Date:     2008-07-16 11:51:15 +0000 (Wed, 16 Jul 2008)

Log Message:
-----------
Flushw can generate exceptions, so save PC & NPC

Modified Paths:
--------------
trunk/target-sparc/translate.c

Modified: trunk/target-sparc/translate.c
===================================================================

target-sparc/translate.c +1 -0
@@ -2346,6 +2346,7 @@
                 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))