Received: from eggs.gnu.org ([208.118.235.92]:48916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUk7n-0002Hp-Tp for qemu-devel@nongnu.org; Tue, 23 Apr 2013 16:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUk7k-0003si-Qt for qemu-devel@nongnu.org; Tue, 23 Apr 2013 16:47:39 -0400 Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]:35708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUk7k-0003sQ-Gl for qemu-devel@nongnu.org; Tue, 23 Apr 2013 16:47:36 -0400 Received: by mail-we0-f180.google.com with SMTP id x43so1001424wey.39 for ; Tue, 23 Apr 2013 13:47:35 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 23 Apr 2013 13:46:52 -0700 Message-Id: <1366750012-25015-21-git-send-email-rth@twiddle.net> In-Reply-To: <1366750012-25015-1-git-send-email-rth@twiddle.net> References: <1366750012-25015-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH v6 20/20] tcg-arm: Remove long jump from tcg_out_goto_label List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net Branches within a TB will always be within 16MB. Signed-off-by: Richard Henderson --- tcg/arm/tcg-target.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c index d6afa2f..7216f7a 100644 --- a/tcg/arm/tcg-target.c +++ b/tcg/arm/tcg-target.c @@ -1055,14 +1055,9 @@ static inline void tcg_out_goto_label(TCGContext *s, int cond, int label_index) { TCGLabel *l = &s->labels[label_index]; - if (l->has_value) + if (l->has_value) { tcg_out_goto(s, cond, l->u.value); - else if (cond == COND_AL) { - tcg_out_ld32_12(s, COND_AL, TCG_REG_PC, TCG_REG_PC, -4); - tcg_out_reloc(s, s->code_ptr, R_ARM_ABS32, label_index, 31337); - s->code_ptr += 4; } else { - /* Probably this should be preferred even for COND_AL... */ tcg_out_reloc(s, s->code_ptr, R_ARM_PC24, label_index, 31337); tcg_out_b_noaddr(s, cond); } -- 1.8.1.4