aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/power8-pmu-regs.c.inc
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-06-02 11:54:39 +0200
committerRichard Henderson <richard.henderson@linaro.org>2023-06-05 12:04:29 -0700
commit283a91777217226331277f60a06186bb236d3833 (patch)
tree270c57a59576dc7b234fe76d2301c4e1fbbd8c39 /target/ppc/power8-pmu-regs.c.inc
parentdfd1b81274140c5f511d549f7b3ec7675a6597f4 (diff)
target/ppc: Inline gen_icount_io_start()
Now that gen_icount_io_start() is a simple wrapper to translator_io_start(), inline it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230602095439.48102-1-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/ppc/power8-pmu-regs.c.inc')
-rw-r--r--target/ppc/power8-pmu-regs.c.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/ppc/power8-pmu-regs.c.inc b/target/ppc/power8-pmu-regs.c.inc
index d900e13cad..c82feedaff 100644
--- a/target/ppc/power8-pmu-regs.c.inc
+++ b/target/ppc/power8-pmu-regs.c.inc
@@ -103,9 +103,9 @@ static void write_MMCR0_common(DisasContext *ctx, TCGv val)
/*
* helper_store_mmcr0 will make clock based operations that
* will cause 'bad icount read' errors if we do not execute
- * gen_icount_io_start() beforehand.
+ * translator_io_start() beforehand.
*/
- gen_icount_io_start(ctx);
+ translator_io_start(&ctx->base);
gen_helper_store_mmcr0(cpu_env, val);
/*
@@ -179,7 +179,7 @@ void spr_read_PMC(DisasContext *ctx, int gprn, int sprn)
{
TCGv_i32 t_sprn = tcg_constant_i32(sprn);
- gen_icount_io_start(ctx);
+ translator_io_start(&ctx->base);
gen_helper_read_pmc(cpu_gpr[gprn], cpu_env, t_sprn);
}
@@ -212,7 +212,7 @@ void spr_write_PMC(DisasContext *ctx, int sprn, int gprn)
{
TCGv_i32 t_sprn = tcg_constant_i32(sprn);
- gen_icount_io_start(ctx);
+ translator_io_start(&ctx->base);
gen_helper_store_pmc(cpu_env, t_sprn, cpu_gpr[gprn]);
}
@@ -248,7 +248,7 @@ void spr_write_MMCR0(DisasContext *ctx, int sprn, int gprn)
void spr_write_MMCR1(DisasContext *ctx, int sprn, int gprn)
{
- gen_icount_io_start(ctx);
+ translator_io_start(&ctx->base);
gen_helper_store_mmcr1(cpu_env, cpu_gpr[gprn]);
}
#else