From nobody Fri Dec 19 20:13:19 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 149375355640115.216000417772534; Tue, 2 May 2017 12:32:36 -0700 (PDT) Received: from localhost ([::1]:33332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5dXG-0001bP-UE for importer@patchew.org; Tue, 02 May 2017 15:32:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5dOV-0001yy-GF for qemu-devel@nongnu.org; Tue, 02 May 2017 15:23:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5dOU-0001nH-Mn for qemu-devel@nongnu.org; Tue, 02 May 2017 15:23:31 -0400 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:36372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5dOU-0001mw-Ie for qemu-devel@nongnu.org; Tue, 02 May 2017 15:23:30 -0400 Received: by mail-qk0-x244.google.com with SMTP id o4so4542716qkb.3 for ; Tue, 02 May 2017 12:23:30 -0700 (PDT) Received: from bigtime.twiddle.net.com ([2602:47:d954:1500:5e51:4fff:fe40:9c64]) by smtp.gmail.com with ESMTPSA id d65sm10664657qkc.53.2017.05.02.12.23.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 May 2017 12:23:29 -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=SJIdjwDoltzYDsMGOSY21WiG9xGlEgTZnOSiLcGTlEU=; b=kJII7omigjDYKMWE1ZMV/TFuuZI7m4e6WwACJz4UUVnBsSNXfdNXaGHmi22/ir9XYN 0jo7JcIzbr1I+5xAUlWXyS+XaXQvnxHoTIO1BWmjXiuaFtGFkySgJfoG7Nt9iMSLkYfa NHzDY5Zl8natPRqvLRexHdyxZh73tgbHgWtVD7rBfi0IELLmGodPGwTBB9OuGyIWhTu1 WNn1pDdh7ByIvpmMPpcfBPGoAm1DLuaXfu1fC5M+hYG2+t4J8Z0BUm/RudYib+nobUTJ jShXt1F/QmmC++dlyvlMe5wn8cjY2x0sHR5C8YzjI/351kCkcCGoVp15ln1NRRooChQX XF4g== 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=SJIdjwDoltzYDsMGOSY21WiG9xGlEgTZnOSiLcGTlEU=; b=oWgofk1wW4wlGz1qo48/TBi1aLEVhCNSHpWfSweYF5GodJCFINsJMcPZOt3tnRMs8R nfszqJIxZ4SKg8A6dJCDxrRMo7E7SKd9o3v0ZWAUkLMCaEiqqNI+W6f7K5hkwo7Ydo98 a7hg15y0BCzKnE+nI1TPRyuoG7Vqz7FO4kaZD61gJl2+qTST1huLg3au7f1QPltM1Jr0 VlJZ2E0oxW1qIriFKdXqKt+wEunUMkgp5q3EwKeqkj4FSNgY6JVk4BryIxyi4VZ9RTzi upnjEBLYxgI7YR0BSetWUcvztknCd51JNcR8edecTzGSYpw+8AW1Uj4P4k/GniM1rXT2 qeqQ== X-Gm-Message-State: AN3rC/4TkDUfzG2YSrZ2+Vzy9vaA72LRFKt+YqGoKcI3E00ODS/8rEpV 8fc63KQuLpJntQ9GCqQ= X-Received: by 10.55.176.7 with SMTP id z7mr26404957qke.182.1493753009929; Tue, 02 May 2017 12:23:29 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 2 May 2017 12:22:54 -0700 Message-Id: <20170502192300.2124-20-rth@twiddle.net> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170502192300.2124-1-rth@twiddle.net> References: <20170502192300.2124-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::244 Subject: [Qemu-devel] [PATCH v6 19/25] 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: cota@braap.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.3