target/riscv: fsd/fsw doesn't dirty FP state

Backports commit a59796eb6d59bbd74ce28ddbddb1b83e60674e96 from qemu
This commit is contained in:
ShihPo Hung 2020-03-21 12:20:40 -04:00 committed by Lioncash
parent 1c7f2083da
commit 6bdd94bf26
2 changed files with 0 additions and 2 deletions

View file

@ -47,7 +47,6 @@ static bool trans_fsd(DisasContext *ctx, arg_fsd *a)
tcg_gen_qemu_st_i64(ctx->uc, tcg_ctx->cpu_fpr_risc[a->rs2], t0, ctx->mem_idx, MO_TEQ); tcg_gen_qemu_st_i64(ctx->uc, tcg_ctx->cpu_fpr_risc[a->rs2], t0, ctx->mem_idx, MO_TEQ);
mark_fs_dirty(ctx);
tcg_temp_free(tcg_ctx, t0); tcg_temp_free(tcg_ctx, t0);
return true; return true;
} }

View file

@ -54,7 +54,6 @@ static bool trans_fsw(DisasContext *ctx, arg_fsw *a)
tcg_gen_qemu_st_i64(ctx->uc, tcg_ctx->cpu_fpr_risc[a->rs2], t0, ctx->mem_idx, MO_TEUL); tcg_gen_qemu_st_i64(ctx->uc, tcg_ctx->cpu_fpr_risc[a->rs2], t0, ctx->mem_idx, MO_TEUL);
tcg_temp_free(tcg_ctx, t0); tcg_temp_free(tcg_ctx, t0);
mark_fs_dirty(ctx);
return true; return true;
} }