render / rpms / qemu

Forked from rpms/qemu 10 months ago
Clone

Blame 0005-target-riscv-fsd-fsw-doesn-t-dirty-FP-state.patch

b98348
From: ShihPo Hung <shihpo.hung@sifive.com>
b98348
Date: Tue, 14 Jan 2020 22:17:32 -0800
1d442b
Subject: [PATCH] target/riscv: fsd/fsw doesn't dirty FP state
b98348
b98348
Signed-off-by: ShihPo Hung <shihpo.hung@sifive.com>
b98348
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
b98348
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
b98348
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
b98348
---
b98348
 target/riscv/insn_trans/trans_rvd.inc.c | 1 -
b98348
 target/riscv/insn_trans/trans_rvf.inc.c | 1 -
b98348
 2 files changed, 2 deletions(-)
b98348
b98348
diff --git a/target/riscv/insn_trans/trans_rvd.inc.c b/target/riscv/insn_trans/trans_rvd.inc.c
b98348
index 393fa0248c..ea1044f13b 100644
b98348
--- a/target/riscv/insn_trans/trans_rvd.inc.c
b98348
+++ b/target/riscv/insn_trans/trans_rvd.inc.c
b98348
@@ -43,7 +43,6 @@ static bool trans_fsd(DisasContext *ctx, arg_fsd *a)
b98348
 
b98348
     tcg_gen_qemu_st_i64(cpu_fpr[a->rs2], t0, ctx->mem_idx, MO_TEQ);
b98348
 
b98348
-    mark_fs_dirty(ctx);
b98348
     tcg_temp_free(t0);
b98348
     return true;
b98348
 }
b98348
diff --git a/target/riscv/insn_trans/trans_rvf.inc.c b/target/riscv/insn_trans/trans_rvf.inc.c
b98348
index 172dbfa919..e23cd639a6 100644
b98348
--- a/target/riscv/insn_trans/trans_rvf.inc.c
b98348
+++ b/target/riscv/insn_trans/trans_rvf.inc.c
b98348
@@ -52,7 +52,6 @@ static bool trans_fsw(DisasContext *ctx, arg_fsw *a)
b98348
     tcg_gen_qemu_st_i64(cpu_fpr[a->rs2], t0, ctx->mem_idx, MO_TEUL);
b98348
 
b98348
     tcg_temp_free(t0);
b98348
-    mark_fs_dirty(ctx);
b98348
     return true;
b98348
 }
b98348