From patchwork Wed Nov 30 13:26:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 629473 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp857860pvb; Wed, 30 Nov 2022 05:29:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5+ihjTKC6112mP7AaoVVXXep0wD2OOKJYDHuetnq28oaM+G0I98ZNnpBQ7k0vJk23i0HGu X-Received: by 2002:a05:620a:2fb:b0:6fa:1500:8a4e with SMTP id a27-20020a05620a02fb00b006fa15008a4emr53498838qko.442.1669814948349; Wed, 30 Nov 2022 05:29:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669814948; cv=none; d=google.com; s=arc-20160816; b=i4ZZi3Uiql2gBt0nl20VlWuBOQOCZ69G2cZvs5v2IU4n2aKAPdRIOBAURlhHmlPF2b tHysJ3inmDUS0KONgbqQ3n66wb/jclU5Bm2cz1khf1BdeUxVWOeildLhzl24XuJ+/oTL s3JQ0gvB4WZCKWqzVa/ocPYJQygFrC41o+nfvT+fRhWkaYLnlt1HzKhHFa7kq7lUSyKI KBgGkLnijGWc5HXqjTyBaUmcLzVqKlOD2ut2ffpZ9jjiPol9rdPg620oizUAkobMUbVY f3+BYxGPQua/AGhEgwyAZFFdLScOj+FWqKru5VHUXijlA93tEgq8TdLNs4eywAEI2IzZ etzw== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=63COJef6IAkH8xxnEAdJ5D3CnIx0YX0J2CyRLRnlx98=; b=hmz9nOiLwHGydbLraSqLLgIJbBYev4xAmIkLHnekJH+9NvWBj0RMLrZempoJ7h7hI9 b9CO1xv6uZd9i9F3AEsgVzi1Q2iC8eMHHnDSGR6BQZhTIRjWKMj0Izdj8TU7Tm/F5585 K0StSsvEWY0fEiXhd5xu7vbbGOAtid8ISpefk/KLYNLvmtPSDwl4UfUHj8G+QVEHhcBQ i0VwY8a5h5h2ILHVgnfUEiaOHLW8mC/+NUViBDjNqFK/QCnMWCsNyh1eqg6pGt0o5GCq GOvkkz7BQlkyJjVdndW5lVmKCOicsa/DPcGbgPKmm4SbDa2OCcPYjw8eXXFTF1WNKJIb QAKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t6cZ2ECp; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m2-20020a05620a13a200b006fad2f376f0si698390qki.466.2022.11.30.05.29.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Nov 2022 05:29:08 -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=t6cZ2ECp; 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 1p0N7D-0003FF-9a; Wed, 30 Nov 2022 08:27:07 -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 1p0N7C-0003Da-EN for qemu-devel@nongnu.org; Wed, 30 Nov 2022 08:27:06 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0N74-0006GH-2r for qemu-devel@nongnu.org; Wed, 30 Nov 2022 08:27:06 -0500 Received: by mail-wm1-x32c.google.com with SMTP id m7-20020a05600c090700b003cf8a105d9eso1386090wmp.5 for ; Wed, 30 Nov 2022 05:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=63COJef6IAkH8xxnEAdJ5D3CnIx0YX0J2CyRLRnlx98=; b=t6cZ2ECp2YUMZba07nMyDNNaxEN0W33CoQ+VnlBxtdYwzBSBrvE1ACui8org9sMK70 gwYq9hA1l8z0jDEN14x6nZcGErpa6MIBMbVPaoMwgvSlmwLkQ185bv9ataTXdxOSgafb limLlF1Q0NponTweN9EKAJXP5UeN37Ex+VagiAWe6Oh/h0ZKtaJrPAz1RmWNqbxw7Y05 QJt6lkAK7I6tLRhGBfyAE0DAgVfbAoMGiPPfYEgg7SmyjIhTblCeLOyuczn9uj2wHR3U F16l3YFaNpCTiDknNix9HkJ2IsrKg9POOjYm4GKqa9AUIf3XX7JByaSVjHjh0kKkGYmb lpgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=63COJef6IAkH8xxnEAdJ5D3CnIx0YX0J2CyRLRnlx98=; b=1+N5Xjegzt0Bf6oqHQyJVK01aUft0w/F4SNyKooSHWd0HChs2vTTCilOZ+Y83Vh9z3 0kqL8sKFhdD2+8Nu+scS7mwg5DA84ASv4M/IMWhejZ1gr0gcwlG0v73b9YcbpQELgoGK 1mvbVLQSvd092i9PGveLdKioFTq/+nKWv/1q4PgvvH+jRNccmcIdC27RGUYTZZzUln8F zR6WH42wjsg6JdKkmpHAPXQYnrfHpysxA/qxZq5BAw0xYuLmQDWMymSHwUCYBN5JVSG8 XVBCH9BxDjMn2lbccTRFZwh94tBBtSU5eIjcMOsG3SueHViEHdRH5S/kUlpdeNVCDpqZ /xUg== X-Gm-Message-State: ANoB5pnWnD7TLciC2ePKDEnEqc0vSwzRkubzVwsi2MqD8DCKDeC8GCmQ Zb6l3xuATiYE3rhgdo4bMFK8Aba2B689T1Ec X-Received: by 2002:a05:600c:3503:b0:3cf:f0a8:d04e with SMTP id h3-20020a05600c350300b003cff0a8d04emr36400684wmq.45.1669814816469; Wed, 30 Nov 2022 05:26:56 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id g13-20020a05600c310d00b003a2f2bb72d5sm6994144wmo.45.2022.11.30.05.26.55 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 30 Nov 2022 05:26:56 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Jiaxun Yang , Aurelien Jarno , Paolo Bonzini , Richard Henderson , Huacai Chen , Thomas Huth , Stefan Weil , qemu-riscv@nongnu.org, Palmer Dabbelt , WANG Xuerui , Aleksandar Rikalo , qemu-s390x@nongnu.org, Alistair Francis , qemu-arm@nongnu.org Subject: [PATCH-for-8.0 0/3] tcg: Replace tcg_target_[u]long -> [u]intptr_t Date: Wed, 30 Nov 2022 14:26:51 +0100 Message-Id: <20221130132654.76369-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=philmd@linaro.org; helo=mail-wm1-x32c.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=unavailable 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 Trivial cleanup (99% mechanical) suggested by rth: the tcg_target_[u]long type is redundant with [u]intptr_t. Philippe Mathieu-Daudé (3): tcg/s390x: Fix coding style tcg: Replace tcg_target_long -> intptr_t tcg: Replace tcg_target_ulong -> uintptr_t accel/tcg/cputlb.c | 44 +++++++++---------- accel/tcg/translate-all.c | 12 +++--- docs/devel/control-flow-integrity.rst | 2 +- include/tcg/tcg-ldst.h | 40 ++++++++--------- include/tcg/tcg-op.h | 62 +++++++++++++-------------- include/tcg/tcg.h | 18 ++------ tcg/aarch64/tcg-target.c.inc | 16 +++---- tcg/arm/tcg-target.c.inc | 4 +- tcg/i386/tcg-target.c.inc | 16 +++---- tcg/loongarch64/tcg-target.c.inc | 30 ++++++------- tcg/mips/tcg-target.c.inc | 4 +- tcg/optimize.c | 8 ++-- tcg/ppc/tcg-target.c.inc | 16 +++---- tcg/riscv/tcg-target.c.inc | 18 ++++---- tcg/s390x/tcg-target.c.inc | 42 +++++++++--------- tcg/sparc64/tcg-target.c.inc | 14 +++--- tcg/tcg-op-vec.c | 2 +- tcg/tcg-op.c | 16 +++---- tcg/tcg-pool.c.inc | 32 +++++++------- tcg/tcg.c | 24 +++++------ tcg/tci.c | 18 ++++---- tcg/tci/tcg-target.c.inc | 2 +- 22 files changed, 214 insertions(+), 226 deletions(-)