aboutsummaryrefslogtreecommitdiff
path: root/target/riscv
diff options
context:
space:
mode:
authorShihPo Hung <shihpo.hung@sifive.com>2020-01-14 22:17:32 -0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-01-16 10:03:08 -0800
commita59796eb6d59bbd74ce28ddbddb1b83e60674e96 (patch)
treeaf47218dea0056cdb049ccc1484d926e9597c221 /target/riscv
parent613fa160e19abe8e1fe44423fcfa8ec73d3d48e5 (diff)
downloadqemu-a59796eb6d59bbd74ce28ddbddb1b83e60674e96.zip
qemu-a59796eb6d59bbd74ce28ddbddb1b83e60674e96.tar.gz
qemu-a59796eb6d59bbd74ce28ddbddb1b83e60674e96.tar.bz2
target/riscv: fsd/fsw doesn't dirty FP state
Signed-off-by: ShihPo Hung <shihpo.hung@sifive.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'target/riscv')
-rw-r--r--target/riscv/insn_trans/trans_rvd.inc.c1
-rw-r--r--target/riscv/insn_trans/trans_rvf.inc.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/target/riscv/insn_trans/trans_rvd.inc.c b/target/riscv/insn_trans/trans_rvd.inc.c
index 393fa02..ea1044f 100644
--- a/target/riscv/insn_trans/trans_rvd.inc.c
+++ b/target/riscv/insn_trans/trans_rvd.inc.c
@@ -43,7 +43,6 @@ static bool trans_fsd(DisasContext *ctx, arg_fsd *a)
tcg_gen_qemu_st_i64(cpu_fpr[a->rs2], t0, ctx->mem_idx, MO_TEQ);
- mark_fs_dirty(ctx);
tcg_temp_free(t0);
return true;
}
diff --git a/target/riscv/insn_trans/trans_rvf.inc.c b/target/riscv/insn_trans/trans_rvf.inc.c
index 172dbfa..e23cd63 100644
--- a/target/riscv/insn_trans/trans_rvf.inc.c
+++ b/target/riscv/insn_trans/trans_rvf.inc.c
@@ -52,7 +52,6 @@ static bool trans_fsw(DisasContext *ctx, arg_fsw *a)
tcg_gen_qemu_st_i64(cpu_fpr[a->rs2], t0, ctx->mem_idx, MO_TEUL);
tcg_temp_free(t0);
- mark_fs_dirty(ctx);
return true;
}