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: 13059828 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79EE6C46467 for ; Wed, 30 Nov 2022 13:29:08 +0000 (UTC) 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-Google-Smtp-Source: AA0mqf7mHOQqv3d9aO5P0p+3/Bo/TzNuwqqqSGys6itBX9SJ+xLbmu5dP3Eec1L9Kch8vUhX+RYHWQ== 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.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(-)