Commit 2371aaa295bbbdf4930e481828db5ab636f49aff
1 parent
5a5012ec
Fix pc/npc for unaligned load/stores, maybe other exceptions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2780 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
target-sparc/translate.c
... | ... | @@ -2776,6 +2776,7 @@ static void disas_sparc_insn(DisasContext * dc) |
2776 | 2776 | { |
2777 | 2777 | unsigned int xop = GET_FIELD(insn, 7, 12); |
2778 | 2778 | rs1 = GET_FIELD(insn, 13, 17); |
2779 | + save_state(dc); | |
2779 | 2780 | gen_movl_reg_T0(rs1); |
2780 | 2781 | if (IS_IMM) { /* immediate */ |
2781 | 2782 | rs2 = GET_FIELDs(insn, 19, 31); | ... | ... |