From patchwork Wed Jun 30 18:32:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 468731 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp619308jao; Wed, 30 Jun 2021 11:50:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEntybmKxY4K+A3HYQjZoePuI/s00vpbXQCTpFvcNDhgog8avWsyr3SbZY368vkucrJObC X-Received: by 2002:a25:1984:: with SMTP id 126mr46879475ybz.327.1625079045620; Wed, 30 Jun 2021 11:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625079045; cv=none; d=google.com; s=arc-20160816; b=tpZcnj9NrZ9Dh9dJ/4Nqh/wI61201qoRNVe2MwKckU/6LRt7lJcrwyjMhn3W2jIq5f 2ruH9vRAjI6u10d/lFOnUWSN74mKlx3IXsU8+6hsfGBN7pr2BMj8JbWIpnF1RxBy9J+e HfkU23+o2M5k/fV2ZDa4u+28fu6uPSoQ5ssi8qoQ1HyX2L1dzdXMtmcpL44rjaqOAx5p EL3lgULq2IaAWj4k2QXarRSfX9iXsL+NrgIecXhB5+QnQwxOpbP6OXQZ4emyej3os8hy +VHk+BrDq76FiDJX4SpO3B3x8nRKM+TUf4VqRLey2s04GWgStTdTnBGTeLaPW6RNe37U btOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=jlb9t26eUmvNmKvxgmiWrSkxF75bfUaFnwmdpAxQL3Q=; b=sIDoDXMau8A1/u3Q6ZUeV6bPE3zZiyqP9fZUeQ6TT0Jw9BT+iFWJwrIuIdeRJT38Ld uYTvGNut9QLI/elzCcImg8AAHFgQgsiugYeeGdB3TunuzPADZqKCJI8BKCto1VaLizNx Czly8t6KojsXDii5DxNnhcauErVk/3zeb2d1eWKQXaf0SjWiBJBk9hp5FD2aL8Sae++j LVyPWryEvCZ5BZMbekHkh/NZG5vC/y4c6v5a8p88pZOAZBifOOQzgKxFi8XUJTWfgrV7 cLBVpflHZJemfHjggJbPmHpVc8z5EL6hae6mkLrL0nBYmqWPrPWqvVBAe8NTWSPNJU11 +5XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L4lRlSEe; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f5si20189773ybn.9.2021.06.30.11.50.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jun 2021 11:50:45 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L4lRlSEe; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyfIL-0000fw-37 for patch@linaro.org; Wed, 30 Jun 2021 14:50:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyf0w-0005jr-Ro for qemu-devel@nongnu.org; Wed, 30 Jun 2021 14:32:46 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:40458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyf0v-00029o-45 for qemu-devel@nongnu.org; Wed, 30 Jun 2021 14:32:46 -0400 Received: by mail-pf1-x42b.google.com with SMTP id j199so2861281pfd.7 for ; Wed, 30 Jun 2021 11:32:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jlb9t26eUmvNmKvxgmiWrSkxF75bfUaFnwmdpAxQL3Q=; b=L4lRlSEe6X0ottRlvlfQnD/R36Do/SSlKLZPvAT19Ij2hgqTPSABLLSRzK3fd34j4m 6Xfm5omQ2qXVDCpMcQd1xGLW2HJ3araka2ChbnlRLguW7tPGcaBMo9mGZswyTMxftFQ2 IEQIXVdorrJxO25XxNdiXsTT4IHUMxKPlj3TbCPmsSj/BGdLH7l1FTTnXrMQ9vOqJFIj 7o8HaGDDqFRUAu/LdbiOKr4wDR9C2reOEexdw/Qr12rTJobym51X4ScjG8tCwcpr3VfQ J/YLQsRWqSUC49M53ptYOilTOEJ9iaxH0ssWVu3K2C7rPxF4a3936Abck9C8kgr4WAvv 7Fqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jlb9t26eUmvNmKvxgmiWrSkxF75bfUaFnwmdpAxQL3Q=; b=IAtsFaMiuOQHVkcKW0lQc4Nmih7QdkkSK7meVgnN9/qC7gZSWGmyhVsoCsusEvhZx0 IqfKL4Sb6HtkxqIKTtJNNDbtdONWBlhPrm0QvetKMhVvf54G8LVz5fURBFa7NDO+uZOk 7f2OHSD6C4fc94Dw6zoTnBFIW9pRfF5tjYU//PAJZKS8UGPsZmT2LMJxMur91FtA0EES 8nqMCXYic64VnNs9Hr92qQgh+kNB0IPfArrYi0EE8nmcIL1+i5BW8/WTRe+3qUeRtDY7 6RTXZyUYnr5qh8YOa1cAGaEC2qnetQaJXigamQmgY/Hx0ioC1SyngmsPG+fMJ8wQFhZO zZ/Q== X-Gm-Message-State: AOAM531N4av5iuUl1cPiAV0lSD/JGyYE+VV6m+tfor/boqTSE2Fuw5Wu mu7PEVhIP2vmGwTdoUPhH/yE+6L92YC+ZQ== X-Received: by 2002:a63:5153:: with SMTP id r19mr35566567pgl.56.1625077963974; Wed, 30 Jun 2021 11:32:43 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id m18sm23909517pff.88.2021.06.30.11.32.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 11:32:43 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 27/28] target/tricore: Use tcg_gen_lookup_and_goto_ptr Date: Wed, 30 Jun 2021 11:32:25 -0700 Message-Id: <20210630183226.3290849-28-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210630183226.3290849-1-richard.henderson@linaro.org> References: <20210630183226.3290849-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastian Koppelmann Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The non-single-step case of gen_goto_tb may use tcg_gen_lookup_and_goto_ptr to indirectly chain. Reviewed-by: Bastian Koppelmann Signed-off-by: Richard Henderson --- target/tricore/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 09465ea013..865020754d 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -3243,8 +3243,9 @@ static void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest) gen_save_pc(dest); if (ctx->base.singlestep_enabled) { generate_qemu_excp(ctx, EXCP_DEBUG); + } else { + tcg_gen_lookup_and_goto_ptr(); } - tcg_gen_exit_tb(NULL, 0); } }