aboutsummaryrefslogtreecommitdiff
path: root/target/riscv
diff options
context:
space:
mode:
authorPavel Dovgalyuk <pavel.dovgaluk@gmail.com>2019-07-25 11:44:55 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-08-20 17:26:22 +0200
commit9e9b10c6491153b60ccfd021328f1f88e1669550 (patch)
treefc7d5e3cf568f14e22930b6d055a5a7ef3523c49 /target/riscv
parentba3e7926691ed33e1164fafbd4fb2e8e50e7c4cd (diff)
downloadqemu-9e9b10c6491153b60ccfd021328f1f88e1669550.zip
qemu-9e9b10c6491153b60ccfd021328f1f88e1669550.tar.gz
qemu-9e9b10c6491153b60ccfd021328f1f88e1669550.tar.bz2
icount: remove unnecessary gen_io_end calls
Prior patch resets can_do_io flag at the TB entry. Therefore there is no need in resetting this flag at the end of the block. This patch removes redundant gen_io_end calls. Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> Message-Id: <156404429499.18669.13404064982854123855.stgit@pasha-Precision-3630-Tower> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@gmail.com>
Diffstat (limited to 'target/riscv')
-rw-r--r--target/riscv/insn_trans/trans_rvi.inc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/riscv/insn_trans/trans_rvi.inc.c b/target/riscv/insn_trans/trans_rvi.inc.c
index ea64731..1af795e 100644
--- a/target/riscv/insn_trans/trans_rvi.inc.c
+++ b/target/riscv/insn_trans/trans_rvi.inc.c
@@ -511,7 +511,6 @@ static bool trans_fence_i(DisasContext *ctx, arg_fence_i *a)
} while (0)
#define RISCV_OP_CSR_POST do {\
- gen_io_end(); \
gen_set_gpr(a->rd, dest); \
tcg_gen_movi_tl(cpu_pc, ctx->pc_succ_insn); \
exit_tb(ctx); \