Message ID | 20210621013439.1791385-26-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6638:102:0:0:0:0 with SMTP id x2csp2119614jao; Sun, 20 Jun 2021 18:51:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoy5XbUoLBqvuBwSw8HtcMAzA0hk0WQZv/1mIXUuMkafMPT6iRt4ScI3L468JwbOnkCuF+ X-Received: by 2002:a92:3004:: with SMTP id x4mr709638ile.269.1624240296806; Sun, 20 Jun 2021 18:51:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624240296; cv=none; d=google.com; s=arc-20160816; b=BXSviGfbZkWzVB9F/jSCohje6SvhAzNXiT+FnzOehJdTjTf/3H0fijhT4dawkNQSVv TD7es1F25bGddE3ePaY4A2ZholsqXuM8qBtlhaWEUcNZogzCGCxkTXbF+19qHI5KHbDK 5FaAGThwRIUk30GY4TNSrEz60RKLKXHBfAlkGJk9QYYpUq8IyUqOGPi9M1y1qIME3rtc Z5A8BVlYzQTJuR/eQtgJa0iDv4K+UJxrmUv5sXhyrd1zUxCkiNtINQ1511DjnJLq1dp7 J6vcPkmZlf1KFYIwTvcIfuHEbRlAtFtKSVDEY/wxN+xC9co1DwyQTRe9qYPH4DpNENps +/gw== 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=FyYP01btqNHdTOFLIRaUteWZ03amrYw7Mq0xWdr/+oA=; b=Fg6JlY8yOFHL1oDHEbavg+9BnTu7RYzWuBpI4wQp7IAjjgcVsyGkM+HCznAXXK6wzZ L7GlnYG1ad+hfhzkisRPzriwixY2Ae0lavotpCqU6OJXCHyjY11Vq1A4GW/M5vrqtmve sSBhiYFnKU84RoW49/tY5HsXgAXInDg56IBYNs0D+yZZFk2PBUUMrciQZXNdfJs+7D8N KLsIp8HOT2GK47d3mAAQ9WXJ4jA03A8zILjMEPj0abnHpTVUXnBuLIcwCC3tpa9275yE nAuZ7yMLfTYvXRC8Ys7xC5Kyz8PkcKkhrPxuPXDtJDAoqrF78rdXo0RXl1h68o5r88Sd t31A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hQdA7rUD; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j1si16305111jar.65.2021.06.20.18.51.36 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Jun 2021 18:51:36 -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=hQdA7rUD; 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]:57764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1lv968-0004kT-2H for patch@linaro.org; Sun, 20 Jun 2021 21:51:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1lv8qG-0004Bv-2x for qemu-devel@nongnu.org; Sun, 20 Jun 2021 21:35:12 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:42924) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1lv8q1-0005Fk-Ha for qemu-devel@nongnu.org; Sun, 20 Jun 2021 21:35:11 -0400 Received: by mail-pj1-x1030.google.com with SMTP id 13-20020a17090a08cdb029016eed209ca4so9292419pjn.1 for <qemu-devel@nongnu.org>; Sun, 20 Jun 2021 18:34:56 -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=FyYP01btqNHdTOFLIRaUteWZ03amrYw7Mq0xWdr/+oA=; b=hQdA7rUDm50MV6QRisqQw3w4PUj5b2FTh7YKG0/9wSct2BYIq1+e4we0aXPur0TYf3 DaSAxX9XVzckZ2h1+xXWaLc16H57Ka851OaKvLsoZtl9UizuU/EvraCzGc/C0BtAyI7F 5d4Qmb12vlxvpcmMWSptEMytxci8qF1P/g/0aE4XTq+CAEFGdzkPD5MtvKB3Hpx5Np85 s0MpXLOK/y0+c65Y41LnGVUQXlxwZF2QV7fl1BH6nyM6zwhkESFkOXVUKZWEF5QhoZd7 3KAnscVatFDt7WeQXxJbWGHi3RsuZEwSJTF29AR05GB/n10Wege/Vus9/CJeauhDUnGQ rD2A== 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=FyYP01btqNHdTOFLIRaUteWZ03amrYw7Mq0xWdr/+oA=; b=XeIuliNeBHOcg+FTHVHHsjauh9LtjA3SmgnsBYqZNYsEzGP9nqVDErfE1x6uJW14D2 n60Ilp0tPjOOd0iyAdIx+gGpw2cwSDzvovmxUSNPmbaNM1Gfc6rnBERQGIf30QH2NMZK WwZ1XqwGBaszcVdUueMcrt28jJdRFjB6okCwvwKEY725i1Vw7y/Hc0wu+wEW8G6SIm8c AqGZWg082qp0uBifQ1sKUBCmmdlPq5CmhEDTQ23bb1n+EzgxFffe+/v7dJiMCDe2nygz osqBeIPViEg9w8bKrS2c3A2OHKtfaAwSGNSHikAiK6dXks8tomrcBCWLzjOvm6jxse8b Iyew== X-Gm-Message-State: AOAM5319tIHpah/JALVTtYnrrIzsO6FOLaSKWg0i7YaLa69w1uJlI5lJ 5AF4cdFaFBnwC2YrBXj+7Rvb+RIYDDzmGA== X-Received: by 2002:a17:902:720b:b029:113:19d7:2da7 with SMTP id ba11-20020a170902720bb029011319d72da7mr15481603plb.55.1624239295362; Sun, 20 Jun 2021 18:34:55 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id s27sm1495628pfg.169.2021.06.20.18.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Jun 2021 18:34:55 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH 25/26] target/tricore: Use tcg_gen_lookup_and_goto_ptr Date: Sun, 20 Jun 2021 18:34:38 -0700 Message-Id: <20210621013439.1791385-26-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210621013439.1791385-1-richard.henderson@linaro.org> References: <20210621013439.1791385-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1030.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
accel/tcg: Introduce translator_use_goto_tb
|
expand
|
On Sun, Jun 20, 2021 at 06:34:38PM -0700, Richard Henderson wrote: > The non-single-step case of gen_goto_tb may use > tcg_gen_lookup_and_goto_ptr to indirectly chain. > > Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > target/tricore/translate.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Cheers, Bastian
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); } }
The non-single-step case of gen_goto_tb may use tcg_gen_lookup_and_goto_ptr to indirectly chain. Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/tricore/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1