From patchwork Wed Feb 14 01:25:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 772659 Delivered-To: patch@linaro.org Received: by 2002:adf:9dc2:0:b0:33b:4db1:f5b3 with SMTP id q2csp72070wre; Tue, 13 Feb 2024 17:27:06 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWDVPcaHk7m78k4RDBvVEU0orHTJbbPvWQOECAsRXGYns5Ay4aisFC9nPMSjNid6zUrwFzDy+YVQFvJbYUIPLpG X-Google-Smtp-Source: AGHT+IE9sefDqA8QCUdm6ifzOTx06XvjjOsfWI2PhGHK9AsTTLd5DEIT/OLIXysSc5P7Vsjv6EwE X-Received: by 2002:a05:620a:1724:b0:785:5397:daf6 with SMTP id az36-20020a05620a172400b007855397daf6mr1475588qkb.45.1707874025942; Tue, 13 Feb 2024 17:27:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1707874025; cv=none; d=google.com; s=arc-20160816; b=SyZe0MAGpqn/nwv9fFXvL9B9VeS0tBWsZnIrLiE2/MiZpKPTaQwHyWOOJdp7uYvXix OXpNkChxx3+OPbULE/SUpSaIHdsG2Y8xssKB+oxD3eUG1b2dFolKq6ONDaWSsLzTjOxE SI+1PxPiB4Musv7Q8kZRLY+MLPSVUAJ2hx8y00h/WkktZf/aFWgasila/1Vxq+YR6M8n F7486ft4aBBtRKV9Osec3Xv5W0nQVa95yfkgIFFbn66A+AnUFxqjHXU090Z0jcBknClR i/yheo1nPHe1gCjroNZ94cyEkao4vrjxDhAx23WUszB/EVxUh/sRMwTBhWiyjuMIksNQ x6QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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:cc:to :from:dkim-signature; bh=8A+ZdhxnkDzIAc1RYMXIDcGYuypp6UD3QlbP2p+Il38=; fh=Q5b/ZWTEHaJaro5fcDxtyp25LmhDw+yRwKY0rebZ6xc=; b=TdaGRHTYXT5mqxm28GNA2UC9jnT7oQCo9F4hS3hlikOFP5MtXYa4aINAcQg3IU46oR MtPuT2EmhBLJ3WuvVz5XV5aq8zZDBQwpd4a3RpAZyA4rIAIpES5BzX5uWy18EIg/yn1U evr96zzZC8byi9tSB7vFVscTivmFEL0iYM1tyqm/hS2NAxQt6uASl26bXvTRuE4iKdT7 ivARoCbV8KbQpg+vuMHy50PHxo+hQdvC2OJWy8Vtj1xMZ/LqYNCE8VFO8zZKVRaYN0U4 FR6PntJbznUGu2olUejnpU8tej/AB7ReHfyN2jUfM2BfoC6UcYaz7GVpBSnW6hXLf3D8 xkMg==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="QH/Poy2M"; 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 X-Forwarded-Encrypted: i=1; AJvYcCV7ORPOUe8RPkywLmHNevuvBi7nYmHggMbTGqgLACFuVPnaVlT289s6TaqxWjiqMRYYjA3aLe383Fj5OtEYutwp Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id z38-20020a05620a262600b00787263f0995si1473920qko.771.2024.02.13.17.27.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2024 17:27:05 -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="QH/Poy2M"; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ra41v-000778-7U; Tue, 13 Feb 2024 20:25:43 -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 1ra41t-00075t-Bl for qemu-devel@nongnu.org; Tue, 13 Feb 2024 20:25:41 -0500 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ra41r-00014e-Nj for qemu-devel@nongnu.org; Tue, 13 Feb 2024 20:25:41 -0500 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1d93edfa76dso40229865ad.1 for ; Tue, 13 Feb 2024 17:25:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707873938; x=1708478738; 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=8A+ZdhxnkDzIAc1RYMXIDcGYuypp6UD3QlbP2p+Il38=; b=QH/Poy2MLvsg/8KFEufLR0taJfPu1xQPTUK+cagcWVcxZxmV9ks54/dAvo1ExOKFwz OkcejTfFubXrd2UTgPmH2WSadiGNjGBv9NC/4UYGZMyAdaXqfv2J3/jCzN6xvaVv3fhk Uj6sBZ4hh5l8/eZxXASTbinKzdT3h8k9AS5nWAFY+c0L6SL4U/oxlPZNAkyuR6ZxQGev WVU9fVasIHDVfh8EgGxvfDDTeJYnIJnYyxxZh9efI2//+V+jxR+rtix8epLf7qr7qaSf M8+4yVXqjY2GU0Xi5McO7rFvgI0xkMQ4e0eUlE9oFkyOMDQZUx1AErt0ahFL+pHjWOaf Pv4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707873938; x=1708478738; 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=8A+ZdhxnkDzIAc1RYMXIDcGYuypp6UD3QlbP2p+Il38=; b=fErBhsdO6IZcufW5bxEBOBXc/SS4CyIgq29Ro+KrYtlyFInJhp6HL2thtXsj7gpn+S D/ADQTxbYuF0FEGLs5mS1172oH5B/e201nGvi4nZx31/AWN622nxUcvZiWMiSHEy1dzM UxEUhCB6ZV5k5a5E+QtkQ1+CW5ehTEv+hOOm8v0lomkOP6D49/8EuX17FRxKfR0RIuR/ 6vpEPZrXy8mcRJYc/JtrWSM+zccKvQPdNrWdJvuePqd2L6euORfBGPRtKD9ObOL+AAI4 R3KfGXVgYWgh/A2MenmOwy1CzpwqcjscBn5TcThYy79OdHx2lhX3TI9MJlpE+y6Wz340 rIBw== X-Gm-Message-State: AOJu0YyEPelOukibUEaQe3M/CKtRKoDbkDcX9Qtk7upGo7a9ytb6E6zI 8QsILhiSwgS7z9vbLM2vcacLWSV2K/2+zBvGtOC/thX9MErphqsxGx1Qnd8Xqn81VuK5Mhmf5gu V X-Received: by 2002:a17:902:7d84:b0:1d9:7121:170e with SMTP id a4-20020a1709027d8400b001d97121170emr1317239plm.35.1707873938247; Tue, 13 Feb 2024 17:25:38 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWFzPvKwNTRMXM69uBjd/faSb0cPVHmZBeyfUTnkY+RpIf9MYFc3+cboZBdjGVBfucPYFBV9GORelr1ZeziPtiamah8dIjrbK5r/EWIO8KhKds= Received: from stoup.. (173-197-098-125.biz.spectrum.com. [173.197.98.125]) by smtp.gmail.com with ESMTPSA id d11-20020a170902cecb00b001d961f28b0asm2660333plg.270.2024.02.13.17.25.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 17:25:37 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Michael Tokarev Subject: [PATCH 1/2] tcg: Increase width of temp_subindex Date: Tue, 13 Feb 2024 15:25:32 -1000 Message-Id: <20240214012533.453511-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240214012533.453511-1-richard.henderson@linaro.org> References: <20240214012533.453511-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62c.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, T_SCC_BODY_TEXT_LINE=-0.01 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 We need values 0-3 for TCG_TYPE_I128 on 32-bit hosts. Cc: qemu-stable@nongnu.org Fixes: 43eef72f4109 ("tcg: Add temp allocation for TCGv_i128") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2159 Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Michael Tokarev Tested-by: Michael Tokarev --- include/tcg/tcg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index daf2a5bf9e..451f3fec41 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -412,7 +412,7 @@ typedef struct TCGTemp { unsigned int mem_coherent:1; unsigned int mem_allocated:1; unsigned int temp_allocated:1; - unsigned int temp_subindex:1; + unsigned int temp_subindex:2; int64_t val; struct TCGTemp *mem_base;