From nobody Fri Nov 14 22:08:58 2025 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=1760073792; cv=none; d=zohomail.com; s=zohoarc; b=hO2wJIQDuDRVRRJs4/0oJkwpoRwcAbZhnzRyUQOUK/hkqo6qUFy0y0I5IAblaMBANW3zyzDLXkUAc0bdPVDVy1JeK5cwbcWN4GitjY2sDZE5iWhZT3Uca98X4vE+IKkE3btiepaQRWlqfy2dIKZlWubDRznBJD6rfTRbVCaELF0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1760073792; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=DbKb7a9+FDFFb7O3f6kDuhi6M8QfBjUl/fWMF4m1FM4=; b=i0dWTRV4BjAm+4gIFWKLFnVL9BAeRSGJREbo534m1ghB8le/kR3FYrEj7TaEqqgt+IxPrTf8T0oCNbCDUvBOt4k8WJzqFivzw/P7PWz9B5oYODKrl7Gjlf98KmBBQchBMir/Mh8jgSTHvXvTU7xZ9ZQllaDYX3oyqbw42Kn9jXo= 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 1760073792068640.9793555439816; Thu, 9 Oct 2025 22:23:12 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v75Zr-0006cV-0s; Fri, 10 Oct 2025 01:22:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v75Zm-0006c3-V5 for qemu-devel@nongnu.org; Fri, 10 Oct 2025 01:21:58 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1v75Zf-0000MW-UY for qemu-devel@nongnu.org; Fri, 10 Oct 2025 01:21:58 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-45b4d89217aso9136845e9.2 for ; Thu, 09 Oct 2025 22:21:49 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-46fb497aea6sm27921015e9.4.2025.10.09.22.21.46 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 09 Oct 2025 22:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760073707; x=1760678507; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DbKb7a9+FDFFb7O3f6kDuhi6M8QfBjUl/fWMF4m1FM4=; b=L2Rm7v2/laOPB1YrHMkyc+hXjCcWOG09NzRaZhlTsS4OMbX4vqfK+skKZcgRflidWO nuaEb8quko0exIevZy93nctnN9sxREQhT48H9Y+fRnz3uKDoml2kWHQHA64q5JwWbwtC rTk0FqA9B3KEd3HLax28v7MEU/wobF3JOtqudIgh2tE1iF9Jvdjy5KdReK9Igisd9C6R vqwRHNpCNJ/kBnN1Ut8QV4AQnDLKLl2euriWkoLwUbgOFtw3Td9V5eTvclCSbgf8E3s+ QFBvlDgkO9DqsNOrHIr7RgngVuiFII+RU27tOhSH16tYNrSkB7sFrWZDiUog0vnXTcvY UC5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760073707; x=1760678507; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DbKb7a9+FDFFb7O3f6kDuhi6M8QfBjUl/fWMF4m1FM4=; b=VGYmEF/jVDuTQ+NG+UlJR3w6I1gqsLOLd4p3KiS1PZCMl5syGaw6N7DLEbYRa23qNh /5snU1tMQLzPWHFf7jq6cd5D5KRkaZMuNZ3JQ9g4ah077ca6ynk6OucEX+DkZuKBJV6/ G11fgwwIpC8hk98L6rqKCx2W6KGz3AEbP8/HYWWfuE7awvTJ9OLedV02qdqMEJahLXDX v590S/CZXyURUGjBbXna8cwpwFkhwNNgqpEpdkRAo8c5jlgzWPz8gkQQoyw/aVR56UIL Rb1Bd+nWGAH7ADYsTtNf0XCNG2EwINibrKNzsr/jeUGJ6UywHeFAoDeV+/e/GHpIBurp cOvg== X-Gm-Message-State: AOJu0YydVwb8XPdjX5sXszY80HW6Sim0Du5F6+B+ruDNReXMBAFhcCCA dO/XyATzo2GpSmy+olmlqlYXLLrIh5xNKGA9JNMXfTVrhUspjiOe85YQU2T0r0TvVWTTM2jtl44 qnoyxJjd3vg== X-Gm-Gg: ASbGnctVQMlM4nR+eUb8Z5sf98Elvy7CdIJWvzakDNx9hp1pAgHSKqOGEFYY1CPousJ RiShCG6A8bVpupgflBkWA+GGTzAjkc9ZOJeGQVoFECi1aBJgHSKLLGTXi6bi1yxXzK1syugygaM SCvbFpZrrtz6+v8mpkNnoHc+6No/lQtSAPeI0pWePeUJwVh1elo58RvSQkfy/IlqOY3D6HPx949 nCmX9pX5syLROBEShKET4U+QLUrsVL712V3QycKBoHtKsaS/DFZnImjriilqnSiDuIW8vM+dCyO 2wqS+xtB3sMA57dlM8jk8AzNHFvk6B0B1yrVio0ambveWVoMpTRIdRI8BpjM4Vf8r/t94HZepOg Vlg7/GDyPGHAlb0WYfMyFsbymVkL51Yk/j79JDodpW6TNlTnPDgFVNob64uHovIPsT0D01yemWK qudzNJt7xYUP7IUIvGpqMikVS0 X-Google-Smtp-Source: AGHT+IH0hoIb/YrY1gVVdRw8MTLHT7IgX5R9HEIh9VRR6rjN3Z50ve7lnapwafw6/4GV/aeHh8rCqA== X-Received: by 2002:a05:600c:46c7:b0:46e:36f2:2a62 with SMTP id 5b1f17b1804b1-46fa9b08c22mr66061605e9.27.1760073707248; Thu, 09 Oct 2025 22:21:47 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Bastian Koppelmann , Pierrick Bouvier , Anton Johansson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 01/12] target/tricore: Remove target_ulong use in gen_goto_tb() Date: Fri, 10 Oct 2025 07:21:29 +0200 Message-ID: <20251010052141.42460-2-philmd@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251010052141.42460-1-philmd@linaro.org> References: <20251010052141.42460-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1760073794916154100 translator_use_goto_tb() expects a vaddr type since commit b1c09220b4c ("accel/tcg: Replace target_ulong with vaddr in translator_*()"). Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/tricore/translate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 7c6e3095971..dd09f0651f5 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -72,7 +72,8 @@ static const char *regnames_d[] =3D { =20 typedef struct DisasContext { DisasContextBase base; - target_ulong pc_succ_insn; + + vaddr pc_succ_insn; uint32_t opcode; /* Routine used to access memory */ int mem_idx; @@ -2811,13 +2812,12 @@ static void gen_calc_usb_mulr_h(TCGv arg) =20 /* helpers for generating program flow micro-ops */ =20 -static inline void gen_save_pc(target_ulong pc) +static inline void gen_save_pc(vaddr pc) { tcg_gen_movi_tl(cpu_PC, pc); } =20 -static void gen_goto_tb(DisasContext *ctx, unsigned tb_slot_index, - target_ulong dest) +static void gen_goto_tb(DisasContext *ctx, unsigned tb_slot_index, vaddr d= est) { if (translator_use_goto_tb(&ctx->base, dest)) { tcg_gen_goto_tb(tb_slot_index); --=20 2.51.0