diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-04-26 09:30:05 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-04-28 13:35:58 +0100 |
commit | d43c8232bd7f81514d3acceace40a46a6d57a46d (patch) | |
tree | 175f1d135d777d78cd2d5b9c8698e9cc5090b78a /target | |
parent | c433065c4559ec3d4d0f725809d3e461b6116ae1 (diff) | |
download | qemu-d43c8232bd7f81514d3acceace40a46a6d57a46d.zip qemu-d43c8232bd7f81514d3acceace40a46a6d57a46d.tar.gz qemu-d43c8232bd7f81514d3acceace40a46a6d57a46d.tar.bz2 |
target/arm: Use tcg_constant in disas_ld_lit
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220426163043.100432-10-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/arm/translate-a64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index af6844b..1caca38 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -2778,7 +2778,7 @@ static void disas_ld_lit(DisasContext *s, uint32_t insn) tcg_rt = cpu_reg(s, rt); - clean_addr = tcg_const_i64(s->pc_curr + imm); + clean_addr = tcg_constant_i64(s->pc_curr + imm); if (is_vector) { do_fp_ld(s, rt, clean_addr, size); } else { @@ -2788,7 +2788,6 @@ static void disas_ld_lit(DisasContext *s, uint32_t insn) do_gpr_ld(s, tcg_rt, clean_addr, size + is_signed * MO_SIGN, false, true, rt, iss_sf, false); } - tcg_temp_free_i64(clean_addr); } /* |