From nobody Sun Jan 11 01:18:08 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=1767850744; cv=none; d=zohomail.com; s=zohoarc; b=GZ7BBt8n5kFv1E46pQuBMyhPKyxhkLb/hsJfTuLquh6aJzJzbIgR8ICu4+MtIiPZyN+jE2+orzCp07Lppg0wUIvFR3EwqcMGYqZpnTrfsqbhSlYkHrcLAtltkl59xnAy4wLU2TfCW+AZgiFI2tenvEEgu3k+WTeyZVnr2sTC7/o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767850744; h=Content-Transfer-Encoding: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:Cc; bh=WENbCwQhzHJF4JDRsXNXWIq6TYGo1+EheHqXE7oC1LM=; b=ekMED3McyMW7x+9Bwd1sFz80qymcHGu+cL9h3t5XBNU7R6wn64szPv0JYEwwvF1+1IL/uFfphSJj7lLV+csQFTqmJw8gB9a+2IAGrdOq4NsuhLNk5jbgLHMj2bJOl0cEbeDyfBMELUOglLtzRyM6Z1sfUlB0BLauYLLdX0U+YiE= 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 1767850744919105.97777692902798; Wed, 7 Jan 2026 21:39:04 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vdic8-0007A6-JK; Thu, 08 Jan 2026 00:31:16 -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 1vdic5-0006se-Em for qemu-devel@nongnu.org; Thu, 08 Jan 2026 00:31:13 -0500 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vdic3-0005Rp-TN for qemu-devel@nongnu.org; Thu, 08 Jan 2026 00:31:13 -0500 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-bcfd82f55ebso670990a12.1 for ; Wed, 07 Jan 2026 21:31:11 -0800 (PST) Received: from stoup.. ([180.233.125.201]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c4cc05cd9d9sm7036552a12.16.2026.01.07.21.31.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jan 2026 21:31:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767850270; x=1768455070; 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=WENbCwQhzHJF4JDRsXNXWIq6TYGo1+EheHqXE7oC1LM=; b=xMVt/WdhhNhDVBxqUnkwhwa/ROQRZ4fD2jJkdHbA5A9bPj4VCQLKoAEn7kXi1X/PCg UOjy4QUO0bGlCBDj6G+iAMF4kAm0tqi1qEAsfRPiW4eUlYUAZzVhwrzaPthiFdXRK+mS M3cEcbyJM6M/g4eyRQ/9k2GEEikMvFCKIfWherBHwN7Zp7hW2wB7WEy2CP/guhWV8vdH D+g81V/7uoIc1+aBTOnlH0X06A0wtdALsk3rjv0Z1ronIoy6l3bquAtIFje3ZQYs3rFc d3rPSeo36Vso0ti6bQ1FrHqBWPguq1m+5dXfuaEdLRWAxqK15t3K4x69H6kOBoTwqV9V RUiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767850270; x=1768455070; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=WENbCwQhzHJF4JDRsXNXWIq6TYGo1+EheHqXE7oC1LM=; b=rsYaDjM3B3l+cf5rdiNC55VTGYQZujGE8cBNMJc5kRf11YcAviLzHvT5WwOmE1Sr4M x4wmq3KK1RyVgg7wjOpAB09wYagbi+egDJjspgTr54JD0EZMU8Pgk+AZA8apQs+ZncUr pvmg/2dlnjjia20hsiSdrN9pNW94vH5M3JTogfPb8x7EjhGuMXF33uVlGMUugUj3ZORm PFkH7ELY86RGtOs/XH1+bGl8qi0qWB78bDXjCGyCS/g+ysujGkCpmyjHMhpYcQEbH/VY ZeMwvlOVckXRSPazrJ5OI3qHiMa9C2yrdCPraSaAhm6Tf+d99KxVaZXy2VmJVf0gt/Z3 +mmg== X-Gm-Message-State: AOJu0YwX6EeuIjnLuBWZJR1Df1eTMgbyj076mu2XkuBpUv287PPEqu2m 6s1UFxGfsavIOYmUJQHj1cuiKEhrAEnkHUZO5GVxQz6LzC0RxGAwSN8SbwHIyFLCFrEGrejrm96 0orng0Io= X-Gm-Gg: AY/fxX5pFmVeJbeOcPnVWAGs+jbeACMYIxWKC9g1cQcOiXJJauuYiF3q7T8SeAn8QUq +d8sl0tZIKQINu1jONt8sgdkw9JCS1MH4zXWJxsiGbCRQwMgVGC6QtoGVXalXcHs3SkIVNIaYUg NT/6kOL6sSVwy50BE8Tzck7h6SWzpFRI8lWZNdAH/HfylRxcejb2MjwnX/dQU2aOlmb0KzlJUHK RhSFWYEz7Bm5BelyPLbng0PZ+Z3IOkLUqHdNSS8qqXhSypgSVMX3EjoIXiQByvnUO+faCPw+wV2 oGo1GWZzo2qnUNvFh/UepxKkEESWCBO8D19g4q49AGv7awXfsTBfTwXc62vSQJs7Xw7fULsuu7T DSTzBakss9LEk8p7zwu1qw+4ul+HBmQDh6x99YMHK/Kvon5dhOAWWEUw2T4btmeVAiXlIfQxYfT fGGR2cx1uUwW6JNvRdNceTU9dUsSj9 X-Google-Smtp-Source: AGHT+IHGbluLjtWRM0Vk7Fb1+Fc3RonZpaJi/4rIcy/+bZn5Syb07uh+dMWlty2UaisNUp/8SDEhHA== X-Received: by 2002:a05:6a21:6f89:b0:371:8e6d:27f9 with SMTP id adf61e73a8af0-38982b4205bmr9079720637.33.1767850270206; Wed, 07 Jan 2026 21:31:10 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 24/50] tcg: Drop TCG_TARGET_REG_BITS test in region.c Date: Thu, 8 Jan 2026 16:29:52 +1100 Message-ID: <20260108053018.626690-25-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260108053018.626690-1-richard.henderson@linaro.org> References: <20260108053018.626690-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 (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::532; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x532.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: 1767850746587158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson Reviewed-by: Pierrick Bouvier --- tcg/region.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tcg/region.c b/tcg/region.c index 2181267e48..5d4be1453b 100644 --- a/tcg/region.c +++ b/tcg/region.c @@ -464,17 +464,6 @@ static size_t tcg_n_regions(size_t tb_size, unsigned m= ax_threads) */ #define MIN_CODE_GEN_BUFFER_SIZE (1 * MiB) =20 -#if TCG_TARGET_REG_BITS =3D=3D 32 -#define DEFAULT_CODE_GEN_BUFFER_SIZE_1 (32 * MiB) -#ifdef CONFIG_USER_ONLY -/* - * For user mode on smaller 32 bit systems we may run into trouble - * allocating big chunks of data in the right place. On these systems - * we utilise a static code generation buffer directly in the binary. - */ -#define USE_STATIC_CODE_GEN_BUFFER -#endif -#else /* TCG_TARGET_REG_BITS =3D=3D 64 */ #ifdef CONFIG_USER_ONLY /* * As user-mode emulation typically means running multiple instances @@ -490,7 +479,6 @@ static size_t tcg_n_regions(size_t tb_size, unsigned ma= x_threads) */ #define DEFAULT_CODE_GEN_BUFFER_SIZE_1 (1 * GiB) #endif -#endif =20 #define DEFAULT_CODE_GEN_BUFFER_SIZE \ (DEFAULT_CODE_GEN_BUFFER_SIZE_1 < MAX_CODE_GEN_BUFFER_SIZE \ --=20 2.43.0