Commit beebb570f41693eb3fcda8f31d2532d17c9ef75a
1 parent
976a0d0d
Fix for the scd instruction, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2799 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
target-mips/translate.c
@@ -745,6 +745,7 @@ static void gen_ldst (DisasContext *ctx, uint32_t opc, int rt, | @@ -745,6 +745,7 @@ static void gen_ldst (DisasContext *ctx, uint32_t opc, int rt, | ||
745 | save_cpu_state(ctx, 1); | 745 | save_cpu_state(ctx, 1); |
746 | GEN_LOAD_REG_TN(T1, rt); | 746 | GEN_LOAD_REG_TN(T1, rt); |
747 | op_ldst(scd); | 747 | op_ldst(scd); |
748 | + GEN_STORE_TN_REG(rt, T0); | ||
748 | opn = "scd"; | 749 | opn = "scd"; |
749 | break; | 750 | break; |
750 | case OPC_LDL: | 751 | case OPC_LDL: |