From patchwork Tue Jun 6 14:12:49 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: 689746 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp2659688wru; Tue, 6 Jun 2023 07:14:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6kuUvD+Y4AHFkyOQ7equKHSdsG1KbfLFm8dRmDIuWQF3Cbcviv6T467nsDbxwyud4NcFII X-Received: by 2002:a05:6214:19c5:b0:62b:68bf:7c74 with SMTP id j5-20020a05621419c500b0062b68bf7c74mr1113723qvc.8.1686060850918; Tue, 06 Jun 2023 07:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686060850; cv=none; d=google.com; s=arc-20160816; b=H+5kuS6ASLDz53/nbASX5aq1RZuPGB1CQi1BU1HW1+NiJFwaFsNDeQmVm/bxotcyt8 I1xBCZYdYsL5X9KdcEC1BCft3TQwr9tO/pYQBkERftqTUU61CyQmpDuBxEP5+DdCNATT MvSWnlNZCu7bQWJ8hcpvZC+5jQRAe0EcprDn2M3wOQF6gd8AzRrbV4l5glSU/6cAbi2Q RAifG2D9mcj8XZmHz6jriTj3MRh99qHTXJ6H0uCBALoZ2B1r+6W2/Em0hUq3a/M/6u0U E0wUSVd0+2HhrO2w/STTsjd6zOP4/cX5J6UAi2uQpRVTHbs4zcZF+4JifI4x9rC+eYd/ oskQ== 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=8nAhi/2SNnfVAGDO4jkwWlSD81rGbl1OFEARKV9v1gg=; b=uYUmzuSzph/xFDKBBEOekPmSpkfopM0kilnM6JF0nmctzBfD17yJhKneoxdwxaFBoE odvQwjkyVahuGY3ioM8QvXNdLsZ5X/3rrSjaD2nfs/sv90nZdHrtr/zVVNJ58i/1cwQw GlfuHOxKYkVyiZgOM/XMoD6hs96EcOQi2NWcaiL5ElRykotgF4FsTaasF7xd0F1HTTw1 5fUXKJmol5RMWsFHm1MYIkHOIldw0SNU010VCIqsS03n6DYwAovSEBTejKtPlvZQYgIW AIYkcmRO4LHe8OoXTPGSOqzUIG1UqL4wClNrmh+S+pxrLh0iHAm2zW/cbNEr5HlgD/w4 sYzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZFePHRIr; 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 y7-20020a37e307000000b0075bcc49f7b7si6049703qki.165.2023.06.06.07.14.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jun 2023 07:14:10 -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=ZFePHRIr; 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 1q6XQw-0003uy-Jv; Tue, 06 Jun 2023 10:13:14 -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 1q6XQu-0003tU-2B for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:12 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6XQr-0005Xi-6x for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:11 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3f73617a292so31371565e9.2 for ; Tue, 06 Jun 2023 07:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686060787; x=1688652787; 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=8nAhi/2SNnfVAGDO4jkwWlSD81rGbl1OFEARKV9v1gg=; b=ZFePHRIrrHCo5PHUbKJxOssBQTMb4ejob3tZ9F+15+4bt+xksiwzxKQZ0va02vC7Tk 5862DobTK6pTJnMZ0e94D01Xf+QlzF3r4a3q8Vepc79h68jyXSOmqw3uPspX/iQEAdtF ic9jsUlRclmKH2bSIcLWPqphV7cpnbLelnznLbUGR1bOFxGdw5BIuxx5Z9H9AiWZAoPm /JjRRnUfpDqtOY58GUC02FK3w3Px76eCvcsAcjEjvLUfG8JZmgUyg/s201LpddtRwvzV C7FvK8+eOKs6nSI1M1rQt7XXHF9rz75S69/J7SnrLs20iQWbJeOqzG+n9gzcrYLDguO7 JY/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686060787; x=1688652787; 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=8nAhi/2SNnfVAGDO4jkwWlSD81rGbl1OFEARKV9v1gg=; b=FPFPigVRBGjEv74BVRvWKltNJXzzo3WuW+3ypxEBSLo8mu7G5wKYGbwjm9bYh+Y124 24Zq+N4HTQas+5CSqbSdIu8mSGvL2GiYCujlLsU37sgOpcxHUtg1cYaQKRKxjpOpiAtu SAof+g3k6WuvPOYri2/4RsnlGWbkXF2A86NS75+GMlUDFRWFh6oPHYrWYxRhCapq1+eE kScG0QFg7Oi2KRECoTyC5olHsS3fJdmIdMVFgTespzBoMsTqZRTG+oc51IgInvnTygJo Cf3v/JbomcfVbXOYyq7gdTmOb7NNPoRUvzn85n2IGoSsoYCXFdMqwUGRJ+hoJ/k3quK0 4SyA== X-Gm-Message-State: AC+VfDyLnI74QkQhL9lIouhaZHmLDVm7+bmxDVrIwi8Q9hVuOmzIvOUs zxeQ+GGkPKLtC3qCr1bNb6HGENmqCEDJTjNKT3U= X-Received: by 2002:a05:600c:2056:b0:3f2:549b:3ef2 with SMTP id p22-20020a05600c205600b003f2549b3ef2mr2147438wmg.17.1686060787430; Tue, 06 Jun 2023 07:13:07 -0700 (PDT) Received: from localhost.localdomain (vbo91-h01-176-184-50-104.dsl.sta.abo.bbox.fr. [176.184.50.104]) by smtp.gmail.com with ESMTPSA id y20-20020a05600c365400b003f60fb2addbsm17816209wmq.44.2023.06.06.07.13.05 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 06 Jun 2023 07:13:07 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/5] target/arm: Rename helper template headers as '.h.inc' Date: Tue, 6 Jun 2023 16:12:49 +0200 Message-Id: <20230606141252.95032-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230606141252.95032-1-philmd@linaro.org> References: <20230606141252.95032-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=philmd@linaro.org; helo=mail-wm1-x331.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, SUSPICIOUS_RECIPS=2.51, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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