From nobody Wed Apr 9 00:56:27 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=1650484081; cv=none; d=zohomail.com; s=zohoarc; b=ah6FhVVzOaJ7SfJ48+TaYZhxNdxYq7nhYUCiqZrjYMeYySHp69p6EaXHtqY8zfxVIsHfZmvCV6ljIjitw5LVYOevDfZPtc15uqZpIpwchfrHct5iVYg5uX0si8EsMYU/P34j0sdFnsMJ4taBlvJB1ueNuCd1T00vDM1hPklJ3lo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650484081; h=Content-Type: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=aa7GfLrKnbPUA3z5/lLY+yzkqrRSnD4Vr5dTEmFhIns=; b=TF/5SUWlNBFVJGgIY8jq7qW7ecaBTa6a/C4dO4NT2pDTNpLLiskgKzqOqOrPNE6NRu+DCI59cEexF3pPv6T+c5Pj4NhnT7vA2uEIScKdP0jOUZfytFqGtwD7YKPqrzdCEUMDbWnXEnApQKDpfWTR654MVt//HYoWqjPHFaXyefs= 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 1650484080994741.1538416201544; Wed, 20 Apr 2022 12:48:00 -0700 (PDT) Received: from localhost ([::1]:47930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhGIx-0006pC-J6 for importer@patchew.org; Wed, 20 Apr 2022 15:47:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhFog-00017j-JM for qemu-devel@nongnu.org; Wed, 20 Apr 2022 15:16:42 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:51154) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhFod-0003Ad-Os for qemu-devel@nongnu.org; Wed, 20 Apr 2022 15:16:41 -0400 Received: by mail-pj1-x102b.google.com with SMTP id o5so2869618pjr.0 for ; Wed, 20 Apr 2022 12:16:39 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id n24-20020aa79058000000b0050612d0fe01sm20599200pfo.2.2022.04.20.12.16.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 12:16:38 -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=aa7GfLrKnbPUA3z5/lLY+yzkqrRSnD4Vr5dTEmFhIns=; b=BH8H0mVqlO9bAbH3qHCIXMgT61xjEVLJ4XxXGeNzragRjVyjNAj4ezStTpoE8U13wE 1wdey/pms3CtetrZU4SyI4GOU7sHT+iRloOp1UkSeiP3KG+yoJNeh00I1UMy/6jESeAO Vl3KDuqRbjJxbnLoEV8SriQqCcYJax/PQ9g9eBthpwYG/W/ICtuSqCOErf6EwaR1h/p0 oArBEUkckubWaGh+VKRmhgULEYFeyCFfaEWgr3MlBHzPgSeh9aQIN1jyspR6QdPj3Ajx MtGqsteybDZUKZVPVl1606ZBQyj3B6SSA86VlwOdmkft22wA2W5y9ZiapouPEZ2INTqt n2TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aa7GfLrKnbPUA3z5/lLY+yzkqrRSnD4Vr5dTEmFhIns=; b=o96ClLMMHXJtmwIyP30gVj+0UQ+C1S8lnrUUwNpx7t64Bq5rhwXe5T5MSwtJAkcr3n 1KaTQKskqcqok5mtmtzDSuuCND78R+kkETQ7s6ZiP1z1xghtetjE2kyJ1ffTxjz8KJdR RcKqg4Yd0ZZsmOjP3uogCs4Tf1hFu9IVbbJUuntZ8YA6FkM0UWuc8/CcwtARM/8Lpd4Y hH5SjYrf2Eit0UiIOIbTC80WMDg59ATmWCOl1jUKiqRFeQGBJV9xDEFD2cTzLcG0d4gZ 7+3Uwqs6jhx5XXoJ4scd+OZFQmDEVe3LupNWC/myCOuisp9WKo8C8tg5jhvydH9awcpJ KZ3g== X-Gm-Message-State: AOAM531x/y6cukDTq2nxotw46lCmqmoNXpB5WCJSUf8mqS+wuZ/6kSH5 PUyTcZnqoKyGVdfD1z3QmV9QL3AqsrsCkQ== X-Google-Smtp-Source: ABdhPJwyJD39uxnLp7hSyo9XpvZHF59cHUufp2S06BhqQXzNKBr+09ZtOLyenr3g1+dh9Qo4f4r/Bg== X-Received: by 2002:a17:902:8504:b0:158:914f:ca3 with SMTP id bj4-20020a170902850400b00158914f0ca3mr22178908plb.67.1650482198510; Wed, 20 Apr 2022 12:16:38 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 4/4] tcg: Add tcg_constant_ptr Date: Wed, 20 Apr 2022 12:16:34 -0700 Message-Id: <20220420191634.1402437-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220420191634.1402437-1-richard.henderson@linaro.org> References: <20220420191634.1402437-1-richard.henderson@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=2607:f8b0:4864:20::102b; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102b.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: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1650484081456100001 Similar to tcg_const_ptr, defer to tcg_constant_{i32,i64}. Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Richard Henderson --- include/tcg/tcg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 27de13fae0..61505d20ed 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -1056,9 +1056,11 @@ TCGv_vec tcg_constant_vec_matching(TCGv_vec match, u= nsigned vece, int64_t val); #if UINTPTR_MAX =3D=3D UINT32_MAX # define tcg_const_ptr(x) ((TCGv_ptr)tcg_const_i32((intptr_t)(x))) # define tcg_const_local_ptr(x) ((TCGv_ptr)tcg_const_local_i32((intptr_t)= (x))) +# define tcg_constant_ptr(x) ((TCGv_ptr)tcg_constant_i32((intptr_t)(x)= )) #else # define tcg_const_ptr(x) ((TCGv_ptr)tcg_const_i64((intptr_t)(x))) # define tcg_const_local_ptr(x) ((TCGv_ptr)tcg_const_local_i64((intptr_t)= (x))) +# define tcg_constant_ptr(x) ((TCGv_ptr)tcg_constant_i64((intptr_t)(x)= )) #endif =20 TCGLabel *gen_new_label(void); --=20 2.34.1