aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-07-08 19:48:40 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-07-08 19:48:40 +0000
commit1ad21e69696d585f0cf70e3207f74757fe296b92 (patch)
tree883aaf544b6e2c15882cf495941b16c3686c220e /target-sparc
parent1b8dd648bdccefa8ba1b05416e65e9b3a278b0e6 (diff)
Save state in Sparc64 return op
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3054 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 074ed21fdd..3c183c6d5a 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -2651,6 +2651,7 @@ static void disas_sparc_insn(DisasContext * dc)
#ifdef TARGET_SPARC64
} else if (xop == 0x39) { /* V9 return */
rs1 = GET_FIELD(insn, 13, 17);
+ save_state(dc);
gen_movl_reg_T0(rs1);
if (IS_IMM) { /* immediate */
rs2 = GET_FIELDs(insn, 19, 31);