From c44c8b8b99959068801726be97b6a444ee2989bc Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 20 Oct 2022 13:06:35 +1000 Subject: target/arm: Change gen_*set_pc_im to gen_*update_pc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In preparation for TARGET_TB_PCREL, reduce reliance on absolute values by passing in pc difference. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Message-id: 20221020030641.2066807-4-richard.henderson@linaro.org Signed-off-by: Peter Maydell --- target/arm/translate-vfp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/arm/translate-vfp.c') diff --git a/target/arm/translate-vfp.c b/target/arm/translate-vfp.c index 94cc1e4..070f465 100644 --- a/target/arm/translate-vfp.c +++ b/target/arm/translate-vfp.c @@ -856,7 +856,7 @@ static bool trans_VMSR_VMRS(DisasContext *s, arg_VMSR_VMRS *a) case ARM_VFP_FPSID: if (s->current_el == 1) { gen_set_condexec(s); - gen_set_pc_im(s, s->pc_curr); + gen_update_pc(s, 0); gen_helper_check_hcr_el2_trap(cpu_env, tcg_constant_i32(a->rt), tcg_constant_i32(a->reg)); -- cgit v1.1