|
From: | Richard Henderson |
Subject: | Re: [PATCH v4 2/9] target/arm: Change gen_goto_tb to work on displacements |
Date: | Thu, 8 Sep 2022 12:59:19 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 9/6/22 13:52, Philippe Mathieu-Daudé wrote:
@@ -1399,9 +1401,9 @@ static void disas_comp_b_imm(DisasContext *s, uint32_t insn) tcg_gen_brcondi_i64(op ? TCG_COND_NE : TCG_COND_EQ, tcg_cmp, 0, label_match); - gen_goto_tb(s, 0, s->base.pc_next); + gen_goto_tb(s, 0, 4);Why not use curr_insn_len() here?
I guess I could, but it's always 4 for aarch64. r~
[Prev in Thread] | Current Thread | [Next in Thread] |