From nobody Wed Nov 5 18:27:48 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1496681985720590.3248865941204; Mon, 5 Jun 2017 09:59:45 -0700 (PDT) Received: from localhost ([::1]:34383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHvLy-0001ig-DT for importer@patchew.org; Mon, 05 Jun 2017 12:59:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHvFZ-0004jT-06 for qemu-devel@nongnu.org; Mon, 05 Jun 2017 12:53:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHvFY-0003y2-8E for qemu-devel@nongnu.org; Mon, 05 Jun 2017 12:53:05 -0400 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:36176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHvFY-0003xa-3y for qemu-devel@nongnu.org; Mon, 05 Jun 2017 12:53:04 -0400 Received: by mail-qt0-x243.google.com with SMTP id s33so9908071qtg.3 for ; Mon, 05 Jun 2017 09:53:03 -0700 (PDT) Received: from bigtime.twiddle.net.com ([2602:47:d954:1500:5e51:4fff:fe40:9c64]) by smtp.gmail.com with ESMTPSA id c6sm1637044qtb.56.2017.06.05.09.53.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jun 2017 09:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=6V7uMLVICsq45K2kNSCDSao0M31uQ8VdVXQ1DbK03DM=; b=fKMNLHFvd64jHH7EqqWtk1v1KPOinLKg4Ao+amjeri541lZaeuLiVbPThhtLhHtmGh euHMvCVdrxxBwgA26U8GNcS1Q2hl+Bf349wHN6DE/DedqseimckO5BcARVgtRPr4s0bD LYJqXuBazMUAHmwVchbTS8t4moc7IUZqHvS4amMRneDjlYOlofovzCiB1H/YRx+Jc5jI WoIMwL4rMtDgTC2FJgy4Mpzi3zeXJb/IZuNOe3vpqYUgs95GQUzyTE7trGbJPM1iZw2f q9ISXUVtC6IHKaZZYcOBLBkwKMnNLwZBwBXx3611wY4IZD829BI2g7oef5rbALoMQwUX p2Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=6V7uMLVICsq45K2kNSCDSao0M31uQ8VdVXQ1DbK03DM=; b=NvQGBJxUeMoU9sf9j5Puj7fWnV1cL8WNhj6qJpiR/liA+y5O4kRxFphIZz+PmpgHgB BovzWVX3CBgrVC4Umv3Xli+JhnyUeJZLZ14fTlz1MUyuZnmnEaoiGna91zil2TB+COTp z5Pg209ForCOYhEdsfuBRWDotLq3UZ5yS42XUr0nsZoTPOV/X+O3ZpvJ/zvVoRcXqCbQ UfoW/0kr2aaRpcRwTmulCU5Vq7RkUz2Xh/48sF4UHZ2hTCRoV4ulprHoMvy9LuEYAf/r mFO/QEIT1UiU+Q0XTrlABlfZ2RdRqcL3h9gXo2VfPlJbQ8ZLlY0QQyx53+ZmR7yn9t6F 0O6g== X-Gm-Message-State: AKS2vOxOAR6wVo66LXK+oMo8JS+gKcJzddrwZzXMhzFG12XTNczDyQP2 fiUs0PYFPJ7JTTX45N8= X-Received: by 10.200.46.99 with SMTP id s32mr14319320qta.48.1496681583387; Mon, 05 Jun 2017 09:53:03 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 5 Jun 2017 09:52:27 -0700 Message-Id: <20170605165233.4135-21-rth@twiddle.net> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170605165233.4135-1-rth@twiddle.net> References: <20170605165233.4135-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 Subject: [Qemu-devel] [PULL 20/26] target/hppa: Use tcg_gen_lookup_and_goto_ptr X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson --- target/hppa/translate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 9e8c233..e10abc5 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -517,7 +517,7 @@ static void gen_goto_tb(DisasContext *ctx, int which, if (ctx->singlestep_enabled) { gen_excp_1(EXCP_DEBUG); } else { - tcg_gen_exit_tb(0); + tcg_gen_lookup_and_goto_ptr(cpu_iaoq_f); } } } @@ -1510,7 +1510,7 @@ static ExitStatus do_ibranch(DisasContext *ctx, TCGv = dest, } else if (is_n && use_nullify_skip(ctx)) { /* The (conditional) branch, B, nullifies the next insn, N, and we're allowed to skip execution N (no single-step or - tracepoint in effect). Since the exit_tb that we must use + tracepoint in effect). Since the goto_ptr that we must use for the indirect branch consumes no special resources, we can (conditionally) skip B and continue execution. */ /* The use_nullify_skip test implies we have a known control path.= */ @@ -1527,7 +1527,7 @@ static ExitStatus do_ibranch(DisasContext *ctx, TCGv = dest, if (link !=3D 0) { tcg_gen_movi_tl(cpu_gr[link], ctx->iaoq_n); } - tcg_gen_exit_tb(0); + tcg_gen_lookup_and_goto_ptr(cpu_iaoq_f); return nullify_end(ctx, NO_EXIT); } else { cond_prep(&ctx->null_cond); @@ -3885,7 +3885,7 @@ void gen_intermediate_code(CPUHPPAState *env, struct = TranslationBlock *tb) if (ctx.singlestep_enabled) { gen_excp_1(EXCP_DEBUG); } else { - tcg_gen_exit_tb(0); + tcg_gen_lookup_and_goto_ptr(cpu_iaoq_f); } break; default: --=20 2.9.4