From patchwork Sun Jun 11 08:58:24 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: 691343 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp1570603wru; Sun, 11 Jun 2023 01:59:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7HxUrGbJWa5l2BlxDlLwhX1ERYYRRiypa6XY0UXB9me54Wm8a1W5wab9ryOIhug7RcHbCK X-Received: by 2002:a05:620a:4484:b0:75f:414:1675 with SMTP id x4-20020a05620a448400b0075f04141675mr5822070qkp.18.1686473986067; Sun, 11 Jun 2023 01:59:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686473986; cv=none; d=google.com; s=arc-20160816; b=gHkc1yjWqmXdh0dy3/4Lkt866hU5nVK0+KNl5xz+QsgiFNT0xR3Yo4VepilUjmD/Oz fpjQKjDAW1jO+RjVzLZS68ING65o9smU6yj0FoUUwiWGnAzhBzqQ36xUfND3rOoCxLbE gY20SnckQV9BS/k4HkNqpj7pUaWqQHOLq+gSg8XhUgn2nvDNecdVhnHr+Fyr4Bn+DDS/ qwS+Fs6V/NMgBjsZJD0fosVYSVYsluWv0mMMwkkM7YPSbqUhCrA6bTNBkDd82F0D1dj0 aV8kkauNUCIr0Jixndz/CinJ4kTB/oYpQ7b/JZWi1kzeAa2pNsfFhZN14nxQHnt/6Vbw ocaA== 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=fbsirCzDXJukWv2s7sL4OlKih2bVzGEaW/aP/pq05CvAhrUm8Ruh2HACClBmksGIuF 0W2ON5xjuhXm9QJUryLAyU6opPm2P6MRVqsfRVXl4OzWvisa1/j1AnYDqr4+sFgx41rL 6eZEkJ+16HTOVnoVcOR1vwnrlKTLmU7n3/vENKeipYROvXhknapVrmP7CI/RZ9fOdNis lsd8Zcbem4GH/o9sQVGNnZoXfWFQYeHGGd2/QjGfoZdVK5QFwFpu5q1OJq+XruSNaLSv jEdAaGPSKpphrEAzaTtfw0LAk/9hWw26j+XkagtB2bEsjVc5iv4V6lYqtFG/q60BCg61 UAeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sAhBNdzB; 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 j3-20020ae9c203000000b0075edbbf6eafsi4207972qkg.558.2023.06.11.01.59.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Jun 2023 01:59:46 -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=sAhBNdzB; 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 1q8Guk-000106-VG; Sun, 11 Jun 2023 04:59:10 -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 1q8Gui-0000zN-Uw for qemu-devel@nongnu.org; Sun, 11 Jun 2023 04:59:08 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q8Guh-0003a8-EB for qemu-devel@nongnu.org; Sun, 11 Jun 2023 04:59:08 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3f6d3f83d0cso33978215e9.2 for ; Sun, 11 Jun 2023 01:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686473946; x=1689065946; 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=sAhBNdzBBnGJ9+/VPT/pteV9lzaEYA4Lt5lf4FbDBG7Yg6IfQTllC7h/kvLmt+iRid V+FMxlJQulzydVThmgYHQmawz2YrYPrM8qOvnKEK+XLPqJ6jnAsWhPimyUkrF5u741qj pbSrpyofWKtTiExxETG6OUWsiJnhugMKpArYgkNcwZ2lLe45iJja1AYXzHhSpN0Lfjhv X6Gc9Y+sSmY3oOB8qgOMmPMag1BCbyMNl7WU8ImvKpo9KDoXSfdJAjEOT0dtABfCmNhb S4jxApj84y3r9zKU8qSBUPFoHt1z3r9FrJJtnplBStCNgSDlvvyfKNQ8VEMjpPyvcwRf /Jjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686473946; x=1689065946; 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=DUtSoL00FCyC/39hqACKlWkzIRPz0UMqScNZ5JNCa23TbA16h6/sgodU2eNDupjKdE ggugHfo7bQoOMz5E6eNRXA2VQjV2+l65qchyFa+NCRIBMxuJtb2hy00oN088FHqIKuQz dqMORhR1rAnFcewQIOmr+mrHSi9S5Y4qrOkeZZh8T0i6BDGiOkGTMqs8hP0X1w4OK+Kr ypjB17u9QnJnDHa5kQN95JWiPVKNBZdzJqCDCwvooYWidlAd7rYolYE+WCcz79K/OR+3 lU2OEhqrDQobZuQD6UI0aF6baYi+MyTudXXuRBXN0aOdj+2vrd+hMQTbDpBsONRm+6d+ KjHg== X-Gm-Message-State: AC+VfDysH0NuwBcrXl3RJCCTKAdsIqKSNRjk8BjBpy/EPUro+MrK529d djmgljGrbDsTzrVWt8ZdG/8+UHXrFeIv1540Ji8= X-Received: by 2002:a1c:7203:0:b0:3f7:e800:abd2 with SMTP id n3-20020a1c7203000000b003f7e800abd2mr5404360wmc.35.1686473945911; Sun, 11 Jun 2023 01:59:05 -0700 (PDT) Received: from localhost.localdomain (91-163-26-170.subs.proxad.net. [91.163.26.170]) by smtp.gmail.com with ESMTPSA id x22-20020a05600c21d600b003f70a7b4537sm7855052wmj.36.2023.06.11.01.59.05 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 11 Jun 2023 01:59:05 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Peter Maydell , qemu-arm@nongnu.org, =?utf-8?q?Ph?= =?utf-8?q?ilippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 04/26] target/arm/tcg: Rename helper template headers as '.h.inc' Date: Sun, 11 Jun 2023 10:58:24 +0200 Message-Id: <20230611085846.21415-5-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230611085846.21415-1-philmd@linaro.org> References: <20230611085846.21415-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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 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