From patchwork Thu Jun 8 13:31:06 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: 690531 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp320020wru; Thu, 8 Jun 2023 06:34:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6lCTLcM/3/txamlNsDpfJcz/rnx3gRATSpXaY+nPN0GAB7auAx8CxI8gMvnNicNnW5s406 X-Received: by 2002:ac8:5dc9:0:b0:3f9:ab02:612e with SMTP id e9-20020ac85dc9000000b003f9ab02612emr7020693qtx.20.1686231280638; Thu, 08 Jun 2023 06:34:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686231280; cv=none; d=google.com; s=arc-20160816; b=z4kF/iwdX4wNznzVNt20Mxdstjgpt3zwUGeOq/6C5tOCG0uRVIkUEor6SM4cy72O67 X0sSrj31Gz0OCOyfz9r6MTcl0zs/RfwNUiYzRpPsc5tezxuQssUnxdD3pM7LnoQJow2M 3l5uu0NdKv6mAj2VpngXwu3UsDEZjBep9S7sxfRCmOaGFDD+DYLIZZqLTCELuNbhoGlw bZFA/Kj04y2y/H8EH9mWSKvO1uVGGczR8MWdq8irGEbQEorMlvq99GQSIkoFtv6vH5XF qd+Vw+8CB9ywWcmcVrGr7dQ8nG/a1uDIsLAjHGS1sXsaGBQwTpbnWhCg6AqVBFkbEucs X8bg== 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=TGIOtcfqce+zUT7WMRlPFS/2Us31rWHhywRh2Bdxy658DOW2DdIRN05FOmVlIJHxf/ MGMa08L6LumvnrIYS0VkWCQjoqQ1zgcckwUQUCgGaKutFklRMd5igwysmHtq7ywQanMB TP6Ytn8yk93Zwn4B15/hlzV3VBjzWDhBwQm76w4hUeQHlQCl+/Ilb9jqkDhwFSNM5Uhj JYw9hIu+bxBohkC2JHsf8w7z8n4U2NPmAT5pcdiCchinvaw+jwyqy3C5xQQ6yUqQrLBj mZcqSHNV73w20D5EkBcNOpyX+394bmtScuZZIIA7kcw7kJghfPL+mSZEJN8g2gwrJJzK tuyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="YnT/kOj3"; 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 j20-20020ac85f94000000b003adff1955edsi578883qta.662.2023.06.08.06.34.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Jun 2023 06:34:40 -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="YnT/kOj3"; 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 1q7Fk0-0001f9-Bh; Thu, 08 Jun 2023 09:31:52 -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 1q7Fjh-0001Wc-Kb for qemu-devel@nongnu.org; Thu, 08 Jun 2023 09:31:33 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7Fje-0005nm-JQ for qemu-devel@nongnu.org; Thu, 08 Jun 2023 09:31:33 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f7f6341b99so4053425e9.2 for ; Thu, 08 Jun 2023 06:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686231088; x=1688823088; 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=YnT/kOj39J4MceJDSe16IwcpGvYmeh17Dvh5M3p2jlc9+Uqw1EXdQEVCXWysqW+SEd wAMadfDa4QCNDQJda39OAi6CvgZMNHCPkpYkXCNgdKYN59zd5ZoLk2VCrjBALLJuwQt+ PJYcPL5BV9L4YuLzQdkN7gqLl9RbGBCxRECaCTvMk4IYk9reN5aMFnCecvkN5HBugxMR 1DQVHpoTBtGjZD1KXfNmxdJZ91lLEhQtnleGrLVLsn2S2MzcsjgXbOvadmIS1vx7okE2 Et/aVv5U/a3wQryz/kuZ9TZKuJ5GP8E1wl9asI7qJkrTCr+diA71QG+yGFFudCfUvPFR 4OEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686231088; x=1688823088; 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=as4L/QtlPyM9WSkcGnNPfwRKymOGM8iqDvaHpMyAgnRMUQp2hCbwVggoj1lwz38jxa LoT2dZg+l68vOn4L/2qwfiX3deCkJcGGSuFBON8bdRgtEDrWzFiaqvmUwNrcyI3i2HQA S4YRrXFkrzZeO5vWzwQCSamuIYLn1tv1H/SqynQK6PKW86Ta4odQLz00afpc/WCJy4G5 icS28N/wvaUaO1F+nj7pdyN95LLgqVaGG56OASceMZxxybNfe0jzYWyT7nQPUbf8lST7 Njo34wHdbIWHrRXduSbEj0r/l1iQdbJJ3+Ezevdts6PicdKtJgPnc1e8Q9LdhsuTdIlN Sspw== X-Gm-Message-State: AC+VfDyGf1LlCj4Zss01dh1GfrF3qI+o3tcFbISvMsWQoVN8QWN4hWii bSING+41kbqscKLLF74scnq5BDQKol5Y03DHF0I= X-Received: by 2002:a7b:cc08:0:b0:3f7:fa21:f66 with SMTP id f8-20020a7bcc08000000b003f7fa210f66mr1375067wmh.26.1686231088711; Thu, 08 Jun 2023 06:31:28 -0700 (PDT) Received: from localhost.localdomain ([176.176.169.168]) by smtp.gmail.com with ESMTPSA id c25-20020a7bc019000000b003f7e6d7f71esm2035290wmb.36.2023.06.08.06.31.27 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 08 Jun 2023 06:31:28 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, qemu-riscv@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 3/5] target/arm: Rename helper template headers as '.h.inc' Date: Thu, 8 Jun 2023 15:31:06 +0200 Message-Id: <20230608133108.72655-4-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230608133108.72655-1-philmd@linaro.org> References: <20230608133108.72655-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.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