From nobody Mon Feb 9 17:27:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1624377476; cv=none; d=zohomail.com; s=zohoarc; b=UaFXKZcRg0w7apBx5FoypEh8kflDFKL3kWy962sc5ly9P0HRTtnal6dQg3VRLqfOS54uCbtzla+tFptRoU+tXLW1OWIfYDYRd9vaVCTT1t6rPJEcLPom2novo4N3xO8NzxQDargRtZN9aUzBoEgwEgXuBOkheggoq8NgYlodnK0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1624377476; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pPAbZ+NnbuJu6Y7yeuOPLB6kF5Goh866R12FC5UPwXY=; b=nKN701jZJwQv4Ea/pwS60C7DPgIRYHu4M8jjaVWcHdVg0DepjYld4fTPj2SIhNz+jJqYfu/9aVePK9/BdrWJgwHlO1aOTHEsAxU3jpCQ6VWw1eCwFRUTKNtapNpNG3ylmC6oIJUSENQdLgw05B/DDr+T7ygpvNjWDQWZ3ewgi7w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1624377476703990.4831482346225; Tue, 22 Jun 2021 08:57:56 -0700 (PDT) Received: from localhost ([::1]:42008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvimh-0007vk-Th for importer@patchew.org; Tue, 22 Jun 2021 11:57:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvidj-0005JO-Iv for qemu-devel@nongnu.org; Tue, 22 Jun 2021 11:48:39 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:39440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvida-0005Kx-OI for qemu-devel@nongnu.org; Tue, 22 Jun 2021 11:48:39 -0400 Received: by mail-pj1-x1032.google.com with SMTP id c7-20020a17090ad907b029016faeeab0ccso1973542pjv.4 for ; Tue, 22 Jun 2021 08:48:30 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id x13sm2898769pjh.30.2021.06.22.08.48.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 08:48:29 -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=pPAbZ+NnbuJu6Y7yeuOPLB6kF5Goh866R12FC5UPwXY=; b=BiF+WimtNMMr3Qk/G23pq2oza8a3MBPQlT7pRnY+8O8TPkDUN9zyeVY4ZccW1153lS 9kEVCzuLTD+MRAyda/BtPYb7eQPJMk21T9haF9K0MGpR/Wjjwaau7aoYKnJekdIxUuXU 8iZeYqX1MKYk5UJagESlOBIAODuBVJ/AOz/sXVQf7le0k+iYab0Dl7jKAhIIr8eNegZk fti8NjKP6EV6lMkOxBKltyvRajFIYptQOsoyE+yT4ui5JEmt2Z6hLvX/rPvuHYXUMusZ dIj46+dFwK8GxOJ0ou1XMhSHU7yow2Uo2aKebAfwIiSTofTbCJ7GtbewTsI+1rFU9P0V T6AQ== 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=pPAbZ+NnbuJu6Y7yeuOPLB6kF5Goh866R12FC5UPwXY=; b=GV126NuuCJ0BxqWkPzxTVdHcWfwp4Tx85O0MVjMPE6NabgBgqdm1IXZnnnh/fnSO2E 1C0zj2lNKCBusLALxRkyxYDF+TxvHvFvWq2eCdI/tLBlt1A+vF2vxQM2Ky2tNaZ5KUJj +95ryTOEPNrsnet36HpTvP7O4rFeVgEHGLnyBSWRBXhN+wVVO1WdzBS2x8mLKktKd/At jwmoCuraiuUWhlb/zsdsmvfpP/b6pOVzIow0ASW+xYb8ztaHtA7ng054DS6pVVpgzTcq PSaPPOnmq0gj9GhGc5UDzhRP2kU7YxqKao32QbcWJieoUvORoyNEQh1NpmlZ9X4/HXQ6 nz/g== X-Gm-Message-State: AOAM533FA0CmKYLvH//U2Drztny773jZV04gMe3J0bMfHScKKcWn7GVU 1P2j3JhxJnth76zUBvEKib8jYybVXi+K8Q== X-Google-Smtp-Source: ABdhPJwrYnom5zwUXDCW5gZttoWeDI4BaUNwtWF8+ejYK73zvPlEiG+4t25xO5m1iUi8sb2EjuTRKw== X-Received: by 2002:a17:90a:e284:: with SMTP id d4mr4687211pjz.124.1624376909457; Tue, 22 Jun 2021 08:48:29 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 12/15] target/cris: Use tcg_gen_lookup_and_goto_ptr Date: Tue, 22 Jun 2021 08:48:17 -0700 Message-Id: <20210622154820.1978982-13-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210622154820.1978982-1-richard.henderson@linaro.org> References: <20210622154820.1978982-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1032.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: edgar.iglesias@gmail.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Type: text/plain; charset="utf-8" We can use this in gen_goto_tb and for DISAS_JUMP to indirectly chain to the next TB. Signed-off-by: Richard Henderson --- target/cris/translate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/cris/translate.c b/target/cris/translate.c index f58f6f2e5e..ea6efe19d9 100644 --- a/target/cris/translate.c +++ b/target/cris/translate.c @@ -546,7 +546,7 @@ static void gen_goto_tb(DisasContext *dc, int n, target= _ulong dest) tcg_gen_exit_tb(dc->base.tb, n); } else { tcg_gen_movi_tl(env_pc, dest); - tcg_gen_exit_tb(NULL, 0); + tcg_gen_lookup_and_goto_ptr(); } } =20 @@ -3352,6 +3352,8 @@ static void cris_tr_tb_stop(DisasContextBase *dcbase,= CPUState *cpu) tcg_gen_movi_tl(env_pc, npc); /* fall through */ case DISAS_JUMP: + tcg_gen_lookup_and_goto_ptr(); + break; case DISAS_UPDATE: /* Indicate that interupts must be re-evaluated before the next TB= . */ tcg_gen_exit_tb(NULL, 0); --=20 2.25.1