Commit 1ad21e69 authored by blueswir1's avatar blueswir1
Browse files

Save state in Sparc64 return op


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3054 c046a42c-6fe2-441c-8c8c-71466251a162
parent 1b8dd648
...@@ -2651,6 +2651,7 @@ static void disas_sparc_insn(DisasContext * dc) ...@@ -2651,6 +2651,7 @@ static void disas_sparc_insn(DisasContext * dc)
#ifdef TARGET_SPARC64 #ifdef TARGET_SPARC64
} else if (xop == 0x39) { /* V9 return */ } else if (xop == 0x39) { /* V9 return */
rs1 = GET_FIELD(insn, 13, 17); rs1 = GET_FIELD(insn, 13, 17);
save_state(dc);
gen_movl_reg_T0(rs1); gen_movl_reg_T0(rs1);
if (IS_IMM) { /* immediate */ if (IS_IMM) { /* immediate */
rs2 = GET_FIELDs(insn, 19, 31); rs2 = GET_FIELDs(insn, 19, 31);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment