From patchwork Fri Jun 9 10:46:59 2023 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: 690901 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp746912wru; Fri, 9 Jun 2023 03:49:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7d+44M4U6yP6cCCHjc/AsPgrUbVvibFJ89dpMxespcnypFaFHTbddCaUFVRDxeKqMw56ZT X-Received: by 2002:a05:620a:3882:b0:75b:23a1:364b with SMTP id qp2-20020a05620a388200b0075b23a1364bmr627309qkn.12.1686307757881; Fri, 09 Jun 2023 03:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686307757; cv=none; d=google.com; s=arc-20160816; b=kDCF9PLFK8bN2hR92565AmZjRr140hlH7kmu/x4Fc1pBIuWmVrih2FoCpR9L5J751T hRNW5ayAr8lIjeb0DEg6A2XZSgj0x5DY+0Ax8FSV6EZO586RMHVCd8ztOoeqSgIwoldv A91WkSF+y+2PqNtx9f8eSuHqjn18FKbdymSUxMq+VZtUmkxZoy+pwswG6kvLc50Sjq/d 3i9J14sdHXID1piDDHD0A4TQtQe9kkQoOaxxWNwpKOtIIx6Ii+8UrTZM+8kyGzbECgHO DgQrylda8cQolaDRMK31bWTKqVqfZvRaDTetgqM6liB77DGAplL4ntL3jeHlLAp+QnOl UmtQ== 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=oIvtCmiWepPA7NXEFbXWWLePEDf5Lnkm5evgEG2zaNg=; b=seIvZQbtE7OkABkJmxa6Decwo+xbyE01KdrnnokejOQdPk6KSKUPfOqI0yjS8+lZY8 vBhvhMPmcxQCsZdYuMC/YxuKiTpDIClqG11pb95oepTflXCs0Joi1qKtIW5hW+deS9Wr O2OzLfbj5wYzvesTk4jhsEVlThKkqzC6SBOMuuOKtAcYLYTjlVY+bAMOvXB3M0+9Q2et sRNRKQzi2XeUXft6+VkFnKA21u5/qltLjEm3OgrFf4W4TktrEvwKWhF9uu1B56uTGz5k mMr7Y/PhO09M2gC9vzxBYP251JFpjT4LOgUoTvR7gD8jgkMSIyzV9q1eIoWr9BQqHdf3 au8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QafN1EGa; 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 h22-20020a05620a10b600b0075c9760b545si1863506qkk.74.2023.06.09.03.49.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Jun 2023 03:49:17 -0700 (PDT) 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=QafN1EGa; 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 1q7Zeo-00014Y-56; Fri, 09 Jun 2023 06:47:50 -0400 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 1q7Zen-00010T-5B for qemu-devel@nongnu.org; Fri, 09 Jun 2023 06:47:49 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7Zel-0001DX-FC for qemu-devel@nongnu.org; Fri, 09 Jun 2023 06:47:48 -0400 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f6454a21a9so1987002e87.3 for ; Fri, 09 Jun 2023 03:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686307664; x=1688899664; 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=oIvtCmiWepPA7NXEFbXWWLePEDf5Lnkm5evgEG2zaNg=; b=QafN1EGaO6+fgoinxDyZ/XHnQKTfTahG7qJh1IRfeb6gAJV57Juk9tkU86M++hARk+ NaVEif9DucYwDVd0eHOk6ycdKpmXzgRFRe5dDTcyAEL7dPopMg52hQKlv9o4WYux+JWX Kb/bQgnsFRRDolXTVCyYThWky+2GpclA0TpeSEnYI4Vvqu10w5guJJmfv+RoJoYiuHrQ wq6XChLMo6XfayZVHZxhQK9bG7ZbpLtQcArXVDrd+gJpiDuK8i/aLPCuHa61zWPMOFi2 +FC7p4+o7z3Xhe52g3b0tnnu26h3Vd+kDHa3kH4dF3cMsB1cci8FHAk+i2nmztJsGAfo 3QbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686307664; x=1688899664; 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=oIvtCmiWepPA7NXEFbXWWLePEDf5Lnkm5evgEG2zaNg=; b=L8siKWa1Bn/KQSELAaKh+i4NsCDwYUEze5Q1Kn9cJ29RjEy9vJFYPwdiC/EpFQ9W0k SpQt46v/dXwh8hu2CtPGb1SQVnC298pZbzqcYvH9hGt0EgjDc/XNtqsYM64WshOpO0yq Q4FbrIlCB1NDlxBBdcECEoYpwUhix/F1r9jbd1QlqPj5nw5xkMAqUquO8I+3O6MXNgXv dGEnP1ciVumLORFHO+ZJkxc4HIv5PBZhXmJEfqqD4iFaNFsbHZH+CknPbs6jl6XsZ+vB gKfzvgYkgbUp0p6lmF/Dg3AqI2dil0iKFPVauWWKWvF8q0167dKDkqPrGchdZ8LVtj3T owtA== X-Gm-Message-State: AC+VfDy7NHjlSsMMF9T4IQcxCW7rTrbtoSc2Sc6/nwyPmj1c1E+/qHyr W74x9Qk6eo4bbft2jpkFLLRCnYjeHz6tUJ3A1Kao+Q== X-Received: by 2002:a19:ab02:0:b0:4f2:5393:b7c with SMTP id u2-20020a19ab02000000b004f253930b7cmr503999lfe.67.1686307664560; Fri, 09 Jun 2023 03:47:44 -0700 (PDT) Received: from localhost.localdomain (23.171.88.92.rev.sfr.net. [92.88.171.23]) by smtp.gmail.com with ESMTPSA id i1-20020adff301000000b002f28de9f73bsm4113500wro.55.2023.06.09.03.47.43 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Jun 2023 03:47:44 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PATCH 04/22] target/arm/tcg: Rename helper template headers as '.h.inc' Date: Fri, 9 Jun 2023 12:46:59 +0200 Message-Id: <20230609104717.95555-5-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230609104717.95555-1-philmd@linaro.org> References: <20230609104717.95555-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=philmd@linaro.org; helo=mail-lf1-x135.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=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 Since commit 139c1837db ("meson: rename included C source files to .c.inc"), QEMU standard procedure for included C files is to use *.c.inc. Besides, since commit 6a0057aa22 ("docs/devel: make a statement about includes") this is documented as the Coding Style: If you do use template header files they should be named with the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are being included for expansion. Therefore rename the included templates as '.h.inc'. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/arm/helper.h | 8 ++++---- target/arm/tcg/{helper-a64.h => helper-a64.h.inc} | 0 target/arm/tcg/{helper-mve.h => helper-mve.h.inc} | 0 target/arm/tcg/{helper-sme.h => helper-sme.h.inc} | 0 target/arm/tcg/{helper-sve.h => helper-sve.h.inc} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename target/arm/tcg/{helper-a64.h => helper-a64.h.inc} (100%) rename target/arm/tcg/{helper-mve.h => helper-mve.h.inc} (100%) rename target/arm/tcg/{helper-sme.h => helper-sme.h.inc} (100%) rename target/arm/tcg/{helper-sve.h => helper-sve.h.inc} (100%) diff --git a/target/arm/helper.h b/target/arm/helper.h index 3335c2b10b..4218d98b51 100644 --- a/target/arm/helper.h +++ b/target/arm/helper.h @@ -1039,9 +1039,9 @@ DEF_HELPER_FLAGS_5(gvec_uclamp_d, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) #ifdef TARGET_AARCH64 -#include "tcg/helper-a64.h" -#include "tcg/helper-sve.h" -#include "tcg/helper-sme.h" +#include "tcg/helper-a64.h.inc" +#include "tcg/helper-sve.h.inc" +#include "tcg/helper-sme.h.inc" #endif -#include "tcg/helper-mve.h" +#include "tcg/helper-mve.h.inc" diff --git a/target/arm/tcg/helper-a64.h b/target/arm/tcg/helper-a64.h.inc similarity index 100% rename from target/arm/tcg/helper-a64.h rename to target/arm/tcg/helper-a64.h.inc diff --git a/target/arm/tcg/helper-mve.h b/target/arm/tcg/helper-mve.h.inc similarity index 100% rename from target/arm/tcg/helper-mve.h rename to target/arm/tcg/helper-mve.h.inc diff --git a/target/arm/tcg/helper-sme.h b/target/arm/tcg/helper-sme.h.inc similarity index 100% rename from target/arm/tcg/helper-sme.h rename to target/arm/tcg/helper-sme.h.inc diff --git a/target/arm/tcg/helper-sve.h b/target/arm/tcg/helper-sve.h.inc similarity index 100% rename from target/arm/tcg/helper-sve.h rename to target/arm/tcg/helper-sve.h.inc