From patchwork Sun Feb 16 00:00:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 865520 Delivered-To: patch@linaro.org Received: by 2002:a5d:64e6:0:b0:38f:210b:807b with SMTP id g6csp519245wri; Sat, 15 Feb 2025 16:02:20 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXMTEjOrqibn3ccyA4S/H5q09nT92t85OyP2iFhHpYeBtc8UrP84q+IgEGIvkOPdS65P84A9Q==@linaro.org X-Google-Smtp-Source: AGHT+IE4a8Nm1Yd1MxwYgDQoaHsoemSc9PBgypFGZmJvphtCulonKsWHaGRqnNhn4MdtyW70K0/f X-Received: by 2002:a05:622a:60b:b0:471:c73e:8eb5 with SMTP id d75a77b69052e-471dbd1a1a9mr71677741cf.20.1739664140762; Sat, 15 Feb 2025 16:02:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739664140; cv=none; d=google.com; s=arc-20240605; b=K/v4Tu37pIiedoC2T/QjQJhL1CTYUPw8P1uiP8JUjWzShl0aSqjcuPpUuxtTWndMXs dfts99cWynHnxMXx0OvddnUCz0DVbL65oZc6pot/aS5pYUS9QQWJm3CQUYYHsW1+dGaw /NK7FfwarNFxiXM6Zp7rbztVN+zjpKGpxRW+HEQsVYup3ZPTwW8V73fpHt2O5SYLUw7D yBT/WuXo1Q3Unf2BLB69wH8mmbsGuv9Mv6JQZcgqhtaSr94d0NWQvex47SzrbTONXkAw 0bgBdGuAyYzwjHOezNw4fpisIDt16Ver0hj2n1E7CnrsuITJ313Mm3SJplnfJyH/YZs2 RbXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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=g+RwK6s98JtgiT+jYpVwQhAcmDtv3UP3CqG+jw/cwXc=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=kVKcMGaO5J5KPwJw5ik8+Qi7k+ZQThWJeQzcaCP91zKdvGsOrct0TVxTMzFbOHbCKy zlxJ5+JZrv4UImA/E5HdPIo2SfauywlPbF5khN5hYXD40KbEVSDc9VZ27tmds9TaT3TK 3SDv40Aggbd6D646Dx1+9qZUtYduH9NsQvo0jXxQC/YH/8kIESDYRTzqRPGBCMqjr5Zr H9TT7s6yzEFyw5Hm78791ANZk3bW0Rehihgl8H+XxjG+rEdKAMgwmP1Jd53yebJncolT AJllo4BkLGGt+H7h2ZTze3VyOUS9BssLs8U+S+IQN7pjh66Mq/KhFma8fKnA0bgjDUxP o87w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OYHIenYc; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-471cac7c82fsi51240561cf.103.2025.02.15.16.02.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 15 Feb 2025 16:02:20 -0800 (PST) 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=OYHIenYc; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tjS62-0007ay-6k; Sat, 15 Feb 2025 19:01:18 -0500 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 1tjS5z-0007aL-3i for qemu-devel@nongnu.org; Sat, 15 Feb 2025 19:01:15 -0500 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tjS5x-0006F8-BG for qemu-devel@nongnu.org; Sat, 15 Feb 2025 19:01:14 -0500 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-220c665ef4cso48860015ad.3 for ; Sat, 15 Feb 2025 16:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739664071; x=1740268871; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=g+RwK6s98JtgiT+jYpVwQhAcmDtv3UP3CqG+jw/cwXc=; b=OYHIenYciuAPpO8HP2wHj76+a9JaLoCUanZioT6uEZ6ivpINs+Q5COKbrkEWXK79MZ 5NLeff4nhsvRXCtHQ3rAmk8+MIWc1nq+/RpCFDjbZ46c7hG2+Q1NjgZDnCgB6vgkPgM8 d5B0xSfI4Jvu10Ny7l94lRe7tYK8r1xISS/vIDhphRCiy8Xil2kL6Umr2HoMwkY0GS1b 60dshofwjpD5dn8Kv/ozse5Izlm4Fl5IuQTHWhayFgj8eroBHq1Vy2S9GCjhASKKUQ7f 6u5+2OsjwFXgOvnyqyA1A4zXk7LxxLsD1CfLKuB0yug4c9gmsrZF0nh+QZQ0WyiPRnhs GPjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739664071; x=1740268871; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g+RwK6s98JtgiT+jYpVwQhAcmDtv3UP3CqG+jw/cwXc=; b=LSCLs83fe71tCFxSNX3cnNe9eaiW9OxD6EeKYmnagiMNahq/D88A2aCxWxeBLnmEeU Gmdr0rlwMOoSVZprtx7WZ2Vq6pMDA7853ThQcgMFe7ievHmFO0vH+/Z6xGtFzxrTJDJp RJJOAQa9Wjz0LGGSCHV6JMHQHakWXDFj5QVUliJyCaeT/B0Y20zlAC5Y+1Lj3UxQJEF8 9qRSTVJOPJLsHTvPwmT5hhxEw5SztlCRBx4tnivM2/OApKUZsL3PwKVyUkBLQd2cDkx1 D4MDSIWYk+8hZ9mwFLiNum5DoYRcqPxplVvCTQn6UxfrqtzAK5wpTceabe8t85b/Us1K /h3Q== X-Gm-Message-State: AOJu0YzsxiX8mrpcBGNpe+bOB5HsSgwOXd1AFQvmQiHYzBTj+Mj0fxEQ K/s1oWOlcfAqZGzl54RQscv8Wl9m/Vukbllk1NNVkAXzaG0CrN/FaVV96vv/biY7bIAyMC51iWM 4 X-Gm-Gg: ASbGncvR/CMxGNtFnrIbWrWDT7iiEXADGwv+0ubaYOYRtz49yItFezDqzsUBLzO1d2d 8/vmcaPiNZ4cPz9Zo18F+ule84xvH6MrBh2Ae9KpjDem4idg2QOS4yKHU8rG1NdtV8Ecc0VJtxY o3VNlRn4cqfcg247hf9xHvryIWAXvf7vEeZmoA7DgWsZSx60qGPNYRZyxkn8VasbZY6zFcoxa0M ZTVNPltI1QDn4erm8DJxIkT+6/mDjeg8mQRK4JzJB4n/vLOSbgOfPVJrcvdg79xpqbBZzNhGoxj 60tFLSJKNq9qdrtpex4czWq5eGyaPifTITn2fTQICVohGoA= X-Received: by 2002:a17:902:e5d0:b0:215:89a0:416f with SMTP id d9443c01a7336-22104058b35mr56082755ad.30.1739664071398; Sat, 15 Feb 2025 16:01:11 -0800 (PST) Received: from stoup.. (71-212-39-66.tukw.qwest.net. [71.212.39.66]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-220d5366729sm48960315ad.79.2025.02.15.16.01.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Feb 2025 16:01:10 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 01/24] tcg: Remove last traces of TCG_TARGET_NEED_POOL_LABELS Date: Sat, 15 Feb 2025 16:00:45 -0800 Message-ID: <20250216000109.2606518-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250216000109.2606518-1-richard.henderson@linaro.org> References: <20250216000109.2606518-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x630.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org These should have been removed with the rest. There are a couple of hosts which can emit guest_base into the constant pool: aarch64, mips64, ppc64, riscv64. Fixes: a417ef835058 ("tcg: Remove TCG_TARGET_NEED_LDST_LABELS and TCG_TARGET_NEED_POOL_LABELS") Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- tcg/tci/tcg-target.h | 1 - tcg/tcg.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index a9ca493d20..bd03aa1bc4 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -72,6 +72,5 @@ typedef enum { } TCGReg; #define HAVE_TCG_QEMU_TB_EXEC -#define TCG_TARGET_NEED_POOL_LABELS #endif /* TCG_TARGET_H */ diff --git a/tcg/tcg.c b/tcg/tcg.c index 43b6712286..53de13df71 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -1598,21 +1598,17 @@ void tcg_prologue_init(void) tcg_qemu_tb_exec = (tcg_prologue_fn *)tcg_splitwx_to_rx(s->code_ptr); #endif -#ifdef TCG_TARGET_NEED_POOL_LABELS s->pool_labels = NULL; -#endif qemu_thread_jit_write(); /* Generate the prologue. */ tcg_target_qemu_prologue(s); -#ifdef TCG_TARGET_NEED_POOL_LABELS /* Allow the prologue to put e.g. guest_base into a pool entry. */ { int result = tcg_out_pool_finalize(s); tcg_debug_assert(result == 0); } -#endif prologue_size = tcg_current_code_size(s); perf_report_prologue(s->code_gen_ptr, prologue_size);