From patchwork Tue Jun 6 14:12:48 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: 689750 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp2660326wru; Tue, 6 Jun 2023 07:15:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5q8FmJP7oY3SKMy/1aqjBuToW5DFmz8v04mmmSR1G3LUxtyaL8cNFd9NqLlG59dNJUGqge X-Received: by 2002:ac8:5993:0:b0:3f8:1c81:499b with SMTP id e19-20020ac85993000000b003f81c81499bmr10840800qte.32.1686060919262; Tue, 06 Jun 2023 07:15:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686060919; cv=none; d=google.com; s=arc-20160816; b=AsBH+l6kuNHxm7Lq6NcSzinwfCj9iAC4h1Gjr2B1qN1piUpZGmqxhXT9lE8+LakS1K 0a+n3pgK0z+8LLTqE1ujqDpnwA0AsiECKaCSISYPtpXZoZzp2OO5OPh8/X6/sMMp/Pdy 9UyV2sGTmadMuMPwHhkxAFDtqIHpexpmDBASpJRj6y/Nb/4D1PXMhwTJIBvnSq6m1oN2 tM3X7m9IbzVXp+okQpXPVa/5EGT4aBNq8+40yXdeoTwzd48IKC7SeXx/LLhHWwCRsHuZ /J/Di67hZTKB68Vg/VjyjYDpyts/os2+5gdA9e4UxX2hfDHL7nRXxXukmwvvRc/wgZpc ycbA== 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=MdSAUEH/HsOMWhs4VgQvGHZZxYfe28F2myfB/wfOD10=; b=nj509kIpfyuJO9DxHaptPE6dum1fgzEhAYmjLDb5V2lb5lgf3TWpT1gcyojK1awRVQ Qj4XS+RKQ1YozpmNcSpsNWXo/yNPk/rQT7FjWrQlljwc+/hrkWaa/aHUZEvqjX0DjIXj enBwM9ji4Dhb/Hqk3vBOpr9EvjN1rFDYB0vt25tXaj8WElIyBLfChFRv1R1q95A5kaKq 9z2z2sf02qOdj5EZGh3h/mbizt/M306DuIhYchlXQedidSqG8Negh6+k20Kh8jUt0DDl AMEFIL5dmp1euH+ar6/SXom9TeydOpuqlFofw8j+dJJ8jXRVZbx3eDpaYUi2RvRhOrAZ 8MZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UT6fGinV; 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 m15-20020ac85b0f000000b003f4f306ce56si6182701qtw.495.2023.06.06.07.15.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jun 2023 07:15:19 -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=UT6fGinV; 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 1q6XQr-0003rD-8y; Tue, 06 Jun 2023 10:13:09 -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 1q6XQp-0003pO-PY for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:07 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6XQn-0005Va-6p for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:07 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f7378a74faso23863155e9.0 for ; Tue, 06 Jun 2023 07:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686060781; x=1688652781; 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=MdSAUEH/HsOMWhs4VgQvGHZZxYfe28F2myfB/wfOD10=; b=UT6fGinVWQRGYWdTINjYUvoicF4kkRg5Mbyk2hQTmTiKqz84EhF4z/chYgdKc2FJA+ PJiaIcB28xqgMogMEgNz0IJYuCnV9bGetVRGXPcg1b/AIHpLrmqfKX7D2F2m9QbIFYcj ed1H3OPF4bT/uQE0jdxGrbGvpooo+6leFCEAlQK1Q955r0lidVVwHLJhGSz2fFN9OH1b wDTdfdiYwZwqYNPgo5uK5lo++9F2HmAGL4cJE4kdDrwifwLlJSh5wUfYgK247VrCHwIY gk5RQkE8Wk5ybxyK292TwjynyarzlWmZI5accoKp3CLWio4qxcR9AUizYCmBa3Unprb2 T8Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686060781; x=1688652781; 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=MdSAUEH/HsOMWhs4VgQvGHZZxYfe28F2myfB/wfOD10=; b=Rc/4OLBb0YkezCJMqey5elXWBExi+7Bs4eAfKmZH4l/lba6REXESWp7mRlO3c4bO+0 SWOZc37B5lPM4yFzHhkVG79cPYNA7nD6Wl9ZeGuyC1e4Uzp7xXBFnYG+/TB5Q4EcImYc S47FVbonQbnYmj88v1ROAPd6OLmv8sBOsjauZmxp7tqM6b4Fofk4NyTlPi664jq7C4RG SKnFhTM9LLoTmk82VrRXIbRJtI4+R1BSV7X9KchUAe+7BS1Opfh0Bh0B81if0ohA+Xtn zv/N7aHC2ntmniOkYJNMkHOUSZZUM1bGhILDgK1WohM5fvr5C81Zxwesao0iISWEHWkm yqEg== X-Gm-Message-State: AC+VfDwfl/JtI+nZShng+992gb+ZeLIhNJofhGeqBWeyhzQ085eZkJku DOCgTkRtZha+Iijn3ty+Tmci1J073ozfx8XHZ9Y= X-Received: by 2002:a05:600c:290c:b0:3f7:35de:856f with SMTP id i12-20020a05600c290c00b003f735de856fmr1984628wmd.24.1686060781410; Tue, 06 Jun 2023 07:13:01 -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 l22-20020a1c7916000000b003f6f6a6e760sm17767263wme.32.2023.06.06.07.13.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 06 Jun 2023 07:13:01 -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 1/5] bsd-user: Rename elfcore.c -> elfcore.c.inc Date: Tue, 6 Jun 2023 16:12:48 +0200 Message-Id: <20230606141252.95032-2-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::32e; envelope-from=philmd@linaro.org; helo=mail-wm1-x32e.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 'elfcore.c' as 'elfcore.c.inc'. Signed-off-by: Philippe Mathieu-Daudé --- bsd-user/elfload.c | 2 +- bsd-user/{elfcore.c => elfcore.c.inc} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename bsd-user/{elfcore.c => elfcore.c.inc} (100%) diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c index 1f650bdde8..d2dced3d7e 100644 --- a/bsd-user/elfload.c +++ b/bsd-user/elfload.c @@ -121,7 +121,7 @@ static void bswap_note(struct elf_note *en) { } #endif /* ! BSWAP_NEEDED */ -#include "elfcore.c" +#include "elfcore.c.inc" /* * 'copy_elf_strings()' copies argument/envelope strings from user diff --git a/bsd-user/elfcore.c b/bsd-user/elfcore.c.inc similarity index 100% rename from bsd-user/elfcore.c rename to bsd-user/elfcore.c.inc 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 From patchwork Tue Jun 6 14:12:50 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: 689748 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp2660092wru; Tue, 6 Jun 2023 07:14:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7BqGEImdkMumMpZ6+NeJFdZYQ/xP1UPAVVFFdB8FtYs+wFw8IDelaWOBJ4CO9EoiiavUhx X-Received: by 2002:ad4:5bc7:0:b0:5a2:abf1:7d33 with SMTP id t7-20020ad45bc7000000b005a2abf17d33mr2209806qvt.50.1686060894774; Tue, 06 Jun 2023 07:14:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686060894; cv=none; d=google.com; s=arc-20160816; b=OQADyCh6ebuhYSjnrqPLZzprqVsd1Fk854b3Juwt+EOl+m4lBaxjGHbMtqoJzCW30o WOH4Mvvl96AerUPjMal6UDt2qLpriU20tE22A2FAWzcNtyyKt5vbHeym5VypbedH4mAd rVxJ/3ZxGX0lYdhns44hl9hmG/FAq41ZrHApJ8g179KZ5UXXV9PXbPw/NhVlaSzw+dFm pIjzwzzW5xyyMPMCZkAyQojilbEnvWQu9gLp5e3llrq3AKME88fklvRa23b1IarV+Geh SCZwXCEUt8jsmgoPYfxHPd7cO/UyKgGewIsp9Y9R0jK0EoU8LRhy6GcBn3LxDZphYEYk 99ug== 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=+/gBSuOm/dFGi2epbWaHBWKZe3zw4iREVEHEqpm1U0s=; b=LIfyJ355RvNJfyBr1J1W1wRehw1HtsCPH1Hka9FbrogUNmAk/6EjeOefdLWrnN1tOu MN49YGsS1lHTDcunCGyVJ7uLBBZF9JDpzFD+S5i8nnCqmU/neWoxRet8Hx+L6cnUgBjs Srt9x7ErJoux7SAxemjnwjHlzqXwa+vkQHe8iwOW0daEMCUv2sDLVEpb1l1Ty2T+mstG L4QhUrIwslD3RymmkJBTlsEevq/Z43FXyUb+tLErnN9vfuMdPVwemrFVA8aRu2xkuwS/ W1Dvug230p1rr7IFcXRqzl0HoUgxC2Jg6nG4g5xo8h4+8spPQszabDqad0wPYZBsEF57 fRFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HtWZOuq9; 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 fo15-20020ad45f0f000000b005ef470c0f01si6401474qvb.374.2023.06.06.07.14.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jun 2023 07:14:54 -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=HtWZOuq9; 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 1q6XR1-0003y0-1E; Tue, 06 Jun 2023 10:13:19 -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 1q6XQy-0003vw-S9 for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:16 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6XQw-0005Yk-Px for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:16 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f7368126a6so24975865e9.0 for ; Tue, 06 Jun 2023 07:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686060793; x=1688652793; 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=+/gBSuOm/dFGi2epbWaHBWKZe3zw4iREVEHEqpm1U0s=; b=HtWZOuq9IEoz3D7QgupgOQRLv/coATTCH+ymBFfBMjTngHXl/elW8/oxGj4WxvsYnw ozNfv7QVThuGmSeOh3QfNc7afbd/ty6FLtNuIN+Qln88oheNYhnkKcwoHTc3iVvjUsP7 5c6VHPAqFSJCxKJgfTAlXQ8NerXZIiSisSP45iltciHbnj5Mi3uEc7h6ezp+TlzJmnjI e0cuXlrwKzRT99WuswzblU4poU+hiOXHn7OC+VRqnXWZJketyHRPA/awxf+WaEMR3aBH oHrC09WJ44aL2UMu5z/6HqgRq1+vS2dfi4cYFnmfwdpFgGIhzN89xDzB3hE2+uVb/K9S SOLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686060793; x=1688652793; 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=+/gBSuOm/dFGi2epbWaHBWKZe3zw4iREVEHEqpm1U0s=; b=A0+Jbyr6wJs2bc7GBniJGuuusO4oUwxOO4CkEsKZ35idoToc/nNOKjbA4HtVGjtuDk q5ktjkr6l4QFFLtVH5I+mgQI5R6ZsW6zsdNOOblkFdsLwW99x57EO2obUl9uWcm7nOns Yf6+ZH5WPvbES3tqsBIriDVvZtKns6vSVsAA9Qo2paTt9n5GcbaHiIiT3PpQ+4CpODZ6 qfn+RC4NcGwytxJ3n7iYPqgWWDe6qauXuS5p6B1Bang6bRIXHOL7A3vQeNoy/RkG80kJ ski4Symnlq5J8Hp4nVKzjYSr2J+kL8vAvuOZcPr8h29VY9Px8IhJ9cNYAk6xV6PZERSv 0aHA== X-Gm-Message-State: AC+VfDzSvVTgf9CPV5vKMCsUuPoTtE+Zl8AJTmTdmlSNfwO4z73UJmTg f2VgL7eCBmKEYG/rL9wdcmNlTYnxZtcAMf3nNkQ= X-Received: by 2002:a05:600c:2904:b0:3f7:26f8:4cc0 with SMTP id i4-20020a05600c290400b003f726f84cc0mr2121358wmd.17.1686060793269; Tue, 06 Jun 2023 07:13:13 -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 e21-20020a05600c219500b003f736735424sm9072246wme.43.2023.06.06.07.13.12 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 06 Jun 2023 07:13:12 -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 3/5] target/i386: Rename helper template headers as '.h.inc' Date: Tue, 6 Jun 2023 16:12:50 +0200 Message-Id: <20230606141252.95032-4-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::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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/i386/helper.h | 6 +++--- target/i386/{ops_sse_header.h => ops_sse_header.h.inc} | 0 ...hift_helper_template.h => shift_helper_template.h.inc} | 0 .../{cc_helper_template.h => cc_helper_template.h.inc} | 0 target/i386/tcg/cc_helper.c | 8 ++++---- target/i386/tcg/int_helper.c | 8 ++++---- 6 files changed, 11 insertions(+), 11 deletions(-) rename target/i386/{ops_sse_header.h => ops_sse_header.h.inc} (100%) rename target/i386/{shift_helper_template.h => shift_helper_template.h.inc} (100%) rename target/i386/tcg/{cc_helper_template.h => cc_helper_template.h.inc} (100%) diff --git a/target/i386/helper.h b/target/i386/helper.h index e627a93107..e972e1cf36 100644 --- a/target/i386/helper.h +++ b/target/i386/helper.h @@ -203,11 +203,11 @@ DEF_HELPER_1(enter_mmx, void, env) DEF_HELPER_1(emms, void, env) #define SHIFT 0 -#include "ops_sse_header.h" +#include "ops_sse_header.h.inc" #define SHIFT 1 -#include "ops_sse_header.h" +#include "ops_sse_header.h.inc" #define SHIFT 2 -#include "ops_sse_header.h" +#include "ops_sse_header.h.inc" DEF_HELPER_3(rclb, tl, env, tl, tl) DEF_HELPER_3(rclw, tl, env, tl, tl) diff --git a/target/i386/ops_sse_header.h b/target/i386/ops_sse_header.h.inc similarity index 100% rename from target/i386/ops_sse_header.h rename to target/i386/ops_sse_header.h.inc diff --git a/target/i386/shift_helper_template.h b/target/i386/shift_helper_template.h.inc similarity index 100% rename from target/i386/shift_helper_template.h rename to target/i386/shift_helper_template.h.inc diff --git a/target/i386/tcg/cc_helper_template.h b/target/i386/tcg/cc_helper_template.h.inc similarity index 100% rename from target/i386/tcg/cc_helper_template.h rename to target/i386/tcg/cc_helper_template.h.inc diff --git a/target/i386/tcg/cc_helper.c b/target/i386/tcg/cc_helper.c index 6227dbb30b..c310bd842f 100644 --- a/target/i386/tcg/cc_helper.c +++ b/target/i386/tcg/cc_helper.c @@ -58,21 +58,21 @@ const uint8_t parity_table[256] = { }; #define SHIFT 0 -#include "cc_helper_template.h" +#include "cc_helper_template.h.inc" #undef SHIFT #define SHIFT 1 -#include "cc_helper_template.h" +#include "cc_helper_template.h.inc" #undef SHIFT #define SHIFT 2 -#include "cc_helper_template.h" +#include "cc_helper_template.h.inc" #undef SHIFT #ifdef TARGET_X86_64 #define SHIFT 3 -#include "cc_helper_template.h" +#include "cc_helper_template.h.inc" #undef SHIFT #endif diff --git a/target/i386/tcg/int_helper.c b/target/i386/tcg/int_helper.c index 599ac968b0..05418f181f 100644 --- a/target/i386/tcg/int_helper.c +++ b/target/i386/tcg/int_helper.c @@ -448,20 +448,20 @@ target_ulong helper_pext(target_ulong src, target_ulong mask) } #define SHIFT 0 -#include "shift_helper_template.h" +#include "shift_helper_template.h.inc" #undef SHIFT #define SHIFT 1 -#include "shift_helper_template.h" +#include "shift_helper_template.h.inc" #undef SHIFT #define SHIFT 2 -#include "shift_helper_template.h" +#include "shift_helper_template.h.inc" #undef SHIFT #ifdef TARGET_X86_64 #define SHIFT 3 -#include "shift_helper_template.h" +#include "shift_helper_template.h.inc" #undef SHIFT #endif From patchwork Tue Jun 6 14:12:51 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: 689749 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp2660143wru; Tue, 6 Jun 2023 07:15:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5OFgK9ZL+cHWSHP/EXnun0rRXVWMcfw3lKfeoI1cdd+jZL9GX2/Fnl7suVwkuZoqwGyxea X-Received: by 2002:a05:6214:d84:b0:626:101a:f8 with SMTP id e4-20020a0562140d8400b00626101a00f8mr2454531qve.25.1686060900125; Tue, 06 Jun 2023 07:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686060900; cv=none; d=google.com; s=arc-20160816; b=K+sgIf3XkgXFayZQyQmXUQM4E+4Ql/s4yIq6Z1xasMft1Pw7C6N1xvRVq492KGiwmx sqEfc1SR+e4pulUTnvaET4Y/+LEgKLiSTF/OvzOf5phKXaDpq9nPdiT8BEJ26m9ZeR60 T6QVwipSelEReWaS6dGhnCJchKyfsLCQaxMwcRs7RBhVwstLEo5p37k3MfmUt1E46iaL PY8dxru8+LBVrpWeMQxHAmvwdy0JKQhHtapFPROL5fl/hibOruIaCI0sSaMa9vGFV/m+ Nw+tkA5hhLWRHB6UZ0sozag9CZg71PkK7tX3CZQ/52mYs/rfhbxKsbylhfdEWEOaAqZo ZVYg== 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=8UQAuFP30266AN4qnHJPcBraOFHFZpQqvUy0mONI7XQ=; b=iAmy5MjT6Ey8CtniCupdhIaHApWLraBTI544qFNmTgT8iITmkeHe+IIbrGA89I9uHx 57ZB9MHp9cw/3mAGkBXi5c4crVDI+PfCat76wyEMKAT6JtxQyj4Pje75fwCMIIsciLY1 2isV8JcgZGChsfsTzDizRUon3pdj5eYSUzNaVkl6PGT92udZi/LEgrJoWwVZe/w8qr1s z+vtkaNeZYvdkOEtBhR4Oyr4lCWBoJ48OgpKyrlQk40nvKzEtly8hwPhMkgBPCEVHC6e fu/mTjKrX3R6jwJBrUZRW3TtuxfZRs4FJHPbLsfporSb/pYlFL+34448zTxMZHjYyifz xwIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="aQhtZ/VW"; 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 9-20020ad45b89000000b0061884d811d2si6353397qvp.270.2023.06.06.07.14.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jun 2023 07:15:00 -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="aQhtZ/VW"; 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 1q6XR7-00041j-UO; Tue, 06 Jun 2023 10:13:25 -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 1q6XR6-00041V-PL for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:24 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6XR2-0005a8-Rt for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:24 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f6d7abe9a4so53788455e9.2 for ; Tue, 06 Jun 2023 07:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686060799; x=1688652799; 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=8UQAuFP30266AN4qnHJPcBraOFHFZpQqvUy0mONI7XQ=; b=aQhtZ/VW0S9+eY6cAy1aj8hGuZ+UDrJsPnpKCfEuEH9G9qe1sHiFEnaZ3d8O/cwqS5 XyLasJA4JTUp1JDJyIaGF8lWI9Dv+GM5w/ufEGA1Ctkzg9gg8tVl4/aOqu3wzIfJnVOQ fZvk3r0JMAwwPv7PtdyfVbiBBoGRzdYsYoJ1QP/IQzV57Rweg1domcbJMdHH8Q6OX/6Y HTpcNEAK4H1cBQlmo19FmCcVJSLAiUsCpfByqlRpSK5QKnkgLZNeNRsBHagh5HgFAWgM 3jCQ4ezFPw36XnamwrQHBJl/RqevfBJRpiG14AhTWjHysrj/hPxiGtc8MkmKiZZXFHnE 67bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686060799; x=1688652799; 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=8UQAuFP30266AN4qnHJPcBraOFHFZpQqvUy0mONI7XQ=; b=GDFEMYZvkdkcNKSysGDSTjhC0nea5CUeqS280eOc2ZIa4bF0gHVMvn1xP9viVKoX8H ozvbCmHwbpSonqaPzhBxHSPFoPRJOi2sroTDaDeGi0gW9Crr/549SKxmif4imlvny1+f 7+od4xySbO4IdPwyxJFxeHuvlmgNPLrILnRsy0Jw7ZKlLzmEJgvLT6Lcw4+MNjMZjEK3 GkNY5NizlCrhkxAo3FDL8HngQGGSmkuvzNuSIMPvGyEMG188/NHGf4NfgyGVkJOMo3pS A0DXdPbgE6BSZmQFanGRGXWDzZjXkvAy2lqVVzJBPAdez3JAgT3RWkX3whW4fCLDbXmD V/Yg== X-Gm-Message-State: AC+VfDyWwgoQ2Q3ZMtI/gAVC9pNqleVP2gHCuqYXHCHUPTMC3mhaGnpj GaEhf9NXbliHQZelfrZsBk3nAoHmoM3r1pV3WCk= X-Received: by 2002:a7b:cd08:0:b0:3f7:e4d7:4469 with SMTP id f8-20020a7bcd08000000b003f7e4d74469mr2220729wmj.41.1686060799304; Tue, 06 Jun 2023 07:13:19 -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 p5-20020a1c7405000000b003f6f6a6e769sm14204324wmc.17.2023.06.06.07.13.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 06 Jun 2023 07:13:18 -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?= , Richard Henderson Subject: [PATCH 4/5] target: Rename per-target 'helper.h' -> 'helper.h.inc' Date: Tue, 6 Jun 2023 16:12:51 +0200 Message-Id: <20230606141252.95032-5-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::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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 'helper.h' as 'helper.h.inc' for all targets (updating the documentation). Suggested-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- docs/devel/tcg-ops.rst | 2 +- include/exec/helper-gen.h | 2 +- include/exec/helper-proto.h | 2 +- target/alpha/{helper.h => helper.h.inc} | 0 target/arm/{helper.h => helper.h.inc} | 0 target/avr/{helper.h => helper.h.inc} | 0 target/cris/{helper.h => helper.h.inc} | 0 target/hexagon/{helper.h => helper.h.inc} | 0 target/hppa/{helper.h => helper.h.inc} | 0 target/i386/{helper.h => helper.h.inc} | 0 target/loongarch/{helper.h => helper.h.inc} | 0 target/m68k/{helper.h => helper.h.inc} | 0 target/microblaze/{helper.h => helper.h.inc} | 0 target/mips/{helper.h => helper.h.inc} | 0 target/nios2/{helper.h => helper.h.inc} | 0 target/openrisc/{helper.h => helper.h.inc} | 0 target/ppc/{helper.h => helper.h.inc} | 0 target/riscv/{helper.h => helper.h.inc} | 0 target/rx/{helper.h => helper.h.inc} | 0 target/s390x/{helper.h => helper.h.inc} | 0 target/sh4/{helper.h => helper.h.inc} | 0 target/sparc/{helper.h => helper.h.inc} | 0 target/tricore/{helper.h => helper.h.inc} | 0 target/xtensa/{helper.h => helper.h.inc} | 0 target/alpha/translate.c | 2 +- target/arm/machine.c | 2 +- target/arm/tcg/translate.c | 2 +- target/avr/translate.c | 2 +- target/cris/translate.c | 2 +- target/hexagon/translate.c | 2 +- target/hppa/translate.c | 2 +- target/i386/tcg/translate.c | 2 +- target/loongarch/translate.c | 2 +- target/m68k/translate.c | 2 +- target/microblaze/translate.c | 2 +- target/mips/tcg/translate.c | 2 +- target/nios2/translate.c | 2 +- target/openrisc/translate.c | 2 +- target/ppc/translate.c | 2 +- target/riscv/translate.c | 2 +- target/rx/translate.c | 2 +- target/s390x/tcg/translate.c | 2 +- target/sh4/translate.c | 2 +- target/sparc/translate.c | 2 +- target/tricore/translate.c | 2 +- target/xtensa/translate.c | 2 +- 46 files changed, 25 insertions(+), 25 deletions(-) rename target/alpha/{helper.h => helper.h.inc} (100%) rename target/arm/{helper.h => helper.h.inc} (100%) rename target/avr/{helper.h => helper.h.inc} (100%) rename target/cris/{helper.h => helper.h.inc} (100%) rename target/hexagon/{helper.h => helper.h.inc} (100%) rename target/hppa/{helper.h => helper.h.inc} (100%) rename target/i386/{helper.h => helper.h.inc} (100%) rename target/loongarch/{helper.h => helper.h.inc} (100%) rename target/m68k/{helper.h => helper.h.inc} (100%) rename target/microblaze/{helper.h => helper.h.inc} (100%) rename target/mips/{helper.h => helper.h.inc} (100%) rename target/nios2/{helper.h => helper.h.inc} (100%) rename target/openrisc/{helper.h => helper.h.inc} (100%) rename target/ppc/{helper.h => helper.h.inc} (100%) rename target/riscv/{helper.h => helper.h.inc} (100%) rename target/rx/{helper.h => helper.h.inc} (100%) rename target/s390x/{helper.h => helper.h.inc} (100%) rename target/sh4/{helper.h => helper.h.inc} (100%) rename target/sparc/{helper.h => helper.h.inc} (100%) rename target/tricore/{helper.h => helper.h.inc} (100%) rename target/xtensa/{helper.h => helper.h.inc} (100%) diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst index 6a166c5665..c74849a231 100644 --- a/docs/devel/tcg-ops.rst +++ b/docs/devel/tcg-ops.rst @@ -151,7 +151,7 @@ Types Helpers ======= -Helpers are registered in a guest-specific ``helper.h``, +Helpers are registered in a guest-specific ``helper.h.inc``, which is processed to generate ``tcg_gen_helper_*`` functions. With these functions it is possible to call a function taking i32, i64, i128 or pointer types. diff --git a/include/exec/helper-gen.h b/include/exec/helper-gen.h index f7ec155699..fdb3ec39f5 100644 --- a/include/exec/helper-gen.h +++ b/include/exec/helper-gen.h @@ -9,7 +9,7 @@ #include "exec/helper-gen-common.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-gen.h.inc" #undef HELPER_H diff --git a/include/exec/helper-proto.h b/include/exec/helper-proto.h index 6935cb4f16..fd061749be 100644 --- a/include/exec/helper-proto.h +++ b/include/exec/helper-proto.h @@ -9,7 +9,7 @@ #include "exec/helper-proto-common.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-proto.h.inc" #undef HELPER_H diff --git a/target/alpha/helper.h b/target/alpha/helper.h.inc similarity index 100% rename from target/alpha/helper.h rename to target/alpha/helper.h.inc diff --git a/target/arm/helper.h b/target/arm/helper.h.inc similarity index 100% rename from target/arm/helper.h rename to target/arm/helper.h.inc diff --git a/target/avr/helper.h b/target/avr/helper.h.inc similarity index 100% rename from target/avr/helper.h rename to target/avr/helper.h.inc diff --git a/target/cris/helper.h b/target/cris/helper.h.inc similarity index 100% rename from target/cris/helper.h rename to target/cris/helper.h.inc diff --git a/target/hexagon/helper.h b/target/hexagon/helper.h.inc similarity index 100% rename from target/hexagon/helper.h rename to target/hexagon/helper.h.inc diff --git a/target/hppa/helper.h b/target/hppa/helper.h.inc similarity index 100% rename from target/hppa/helper.h rename to target/hppa/helper.h.inc diff --git a/target/i386/helper.h b/target/i386/helper.h.inc similarity index 100% rename from target/i386/helper.h rename to target/i386/helper.h.inc diff --git a/target/loongarch/helper.h b/target/loongarch/helper.h.inc similarity index 100% rename from target/loongarch/helper.h rename to target/loongarch/helper.h.inc diff --git a/target/m68k/helper.h b/target/m68k/helper.h.inc similarity index 100% rename from target/m68k/helper.h rename to target/m68k/helper.h.inc diff --git a/target/microblaze/helper.h b/target/microblaze/helper.h.inc similarity index 100% rename from target/microblaze/helper.h rename to target/microblaze/helper.h.inc diff --git a/target/mips/helper.h b/target/mips/helper.h.inc similarity index 100% rename from target/mips/helper.h rename to target/mips/helper.h.inc diff --git a/target/nios2/helper.h b/target/nios2/helper.h.inc similarity index 100% rename from target/nios2/helper.h rename to target/nios2/helper.h.inc diff --git a/target/openrisc/helper.h b/target/openrisc/helper.h.inc similarity index 100% rename from target/openrisc/helper.h rename to target/openrisc/helper.h.inc diff --git a/target/ppc/helper.h b/target/ppc/helper.h.inc similarity index 100% rename from target/ppc/helper.h rename to target/ppc/helper.h.inc diff --git a/target/riscv/helper.h b/target/riscv/helper.h.inc similarity index 100% rename from target/riscv/helper.h rename to target/riscv/helper.h.inc diff --git a/target/rx/helper.h b/target/rx/helper.h.inc similarity index 100% rename from target/rx/helper.h rename to target/rx/helper.h.inc diff --git a/target/s390x/helper.h b/target/s390x/helper.h.inc similarity index 100% rename from target/s390x/helper.h rename to target/s390x/helper.h.inc diff --git a/target/sh4/helper.h b/target/sh4/helper.h.inc similarity index 100% rename from target/sh4/helper.h rename to target/sh4/helper.h.inc diff --git a/target/sparc/helper.h b/target/sparc/helper.h.inc similarity index 100% rename from target/sparc/helper.h rename to target/sparc/helper.h.inc diff --git a/target/tricore/helper.h b/target/tricore/helper.h.inc similarity index 100% rename from target/tricore/helper.h rename to target/tricore/helper.h.inc diff --git a/target/xtensa/helper.h b/target/xtensa/helper.h.inc similarity index 100% rename from target/xtensa/helper.h rename to target/xtensa/helper.h.inc diff --git a/target/alpha/translate.c b/target/alpha/translate.c index 1f7dd078d8..1fd9c18262 100644 --- a/target/alpha/translate.c +++ b/target/alpha/translate.c @@ -30,7 +30,7 @@ #include "exec/translator.h" #include "exec/log.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/arm/machine.c b/target/arm/machine.c index fc4a4a4064..6d9afc5f00 100644 --- a/target/arm/machine.c +++ b/target/arm/machine.c @@ -462,7 +462,7 @@ static bool pmsav7_rnr_needed(void *opaque) CPUARMState *env = &cpu->env; /* For R profile cores pmsav7.rnr is migrated via the cpreg - * "RGNR" definition in helper.h. For M profile we have to + * "RGNR" definition in helper.h.inc. For M profile we have to * migrate it separately. */ return arm_feature(env, ARM_FEATURE_M); diff --git a/target/arm/tcg/translate.c b/target/arm/tcg/translate.c index a68d3c7f6d..308f6a8513 100644 --- a/target/arm/tcg/translate.c +++ b/target/arm/tcg/translate.c @@ -29,7 +29,7 @@ #include "cpregs.h" #include "exec/helper-proto.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/avr/translate.c b/target/avr/translate.c index ef2edd7415..4205bf94b3 100644 --- a/target/avr/translate.c +++ b/target/avr/translate.c @@ -30,7 +30,7 @@ #include "exec/log.h" #include "exec/translator.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/cris/translate.c b/target/cris/translate.c index 1445cd8bb5..3b5686cbb0 100644 --- a/target/cris/translate.c +++ b/target/cris/translate.c @@ -37,7 +37,7 @@ #include "exec/helper-gen.h" #include "exec/log.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/hexagon/translate.c b/target/hexagon/translate.c index 708339198e..3d5c628885 100644 --- a/target/hexagon/translate.c +++ b/target/hexagon/translate.c @@ -33,7 +33,7 @@ #include "genptr.h" #include "printinsn.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/hppa/translate.c b/target/hppa/translate.c index d33813d173..f2e5ace845 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -29,7 +29,7 @@ #include "exec/translator.h" #include "exec/log.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c index 5cf14311a6..61fa64efa7 100644 --- a/target/i386/tcg/translate.c +++ b/target/i386/tcg/translate.c @@ -34,7 +34,7 @@ #include "exec/log.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/loongarch/translate.c b/target/loongarch/translate.c index 3146a2d4ac..fdbb9d25ea 100644 --- a/target/loongarch/translate.c +++ b/target/loongarch/translate.c @@ -23,7 +23,7 @@ TCGv cpu_gpr[32], cpu_pc; static TCGv cpu_lladdr, cpu_llval; -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 551ef9e52a..8594313e8f 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -34,7 +34,7 @@ #include "exec/log.h" #include "fpu/softfloat.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 7e7f837c63..ffb40421a0 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -31,7 +31,7 @@ #include "exec/log.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c index 74af91e4f5..1dfffe1c6f 100644 --- a/target/mips/tcg/translate.c +++ b/target/mips/tcg/translate.c @@ -32,7 +32,7 @@ #include "disas/disas.h" #include "fpu_helper.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/nios2/translate.c b/target/nios2/translate.c index a365ad8293..6f81efe90b 100644 --- a/target/nios2/translate.c +++ b/target/nios2/translate.c @@ -34,7 +34,7 @@ #include "qemu/qemu-print.h" #include "semihosting/semihost.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c index 7760329e75..f5e8a25977 100644 --- a/target/openrisc/translate.c +++ b/target/openrisc/translate.c @@ -34,7 +34,7 @@ #include "exec/log.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/ppc/translate.c b/target/ppc/translate.c index 37fd431870..598759f813 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -41,7 +41,7 @@ #include "qemu/qemu-print.h" #include "qapi/error.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/riscv/translate.c b/target/riscv/translate.c index 933b11c50d..e27df3c9af 100644 --- a/target/riscv/translate.c +++ b/target/riscv/translate.c @@ -33,7 +33,7 @@ #include "instmap.h" #include "internals.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/rx/translate.c b/target/rx/translate.c index 08cabbde61..5b60082749 100644 --- a/target/rx/translate.c +++ b/target/rx/translate.c @@ -28,7 +28,7 @@ #include "exec/translator.h" #include "exec/log.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index 7c549cd8d0..7db663c915 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -45,7 +45,7 @@ #include "exec/log.h" #include "qemu/atomic128.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/sh4/translate.c b/target/sh4/translate.c index 49c87d7a01..df4c721cee 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -29,7 +29,7 @@ #include "exec/log.h" #include "qemu/qemu-print.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/sparc/translate.c b/target/sparc/translate.c index bad2ec90a0..99efd3ae87 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -33,7 +33,7 @@ #include "exec/log.h" #include "asi.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 8e4f99478c..ed40a2c8ef 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -33,7 +33,7 @@ #include "exec/translator.h" #include "exec/log.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c index b7386ff0f0..68495fc983 100644 --- a/target/xtensa/translate.c +++ b/target/xtensa/translate.c @@ -45,7 +45,7 @@ #include "exec/log.h" -#define HELPER_H "helper.h" +#define HELPER_H "helper.h.inc" #include "exec/helper-info.c.inc" #undef HELPER_H From patchwork Tue Jun 6 14:12:52 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: 689745 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp2659687wru; Tue, 6 Jun 2023 07:14:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ744Zt5XJ9Eb+RsoHdNUBi2pZEVWlqHMoCOBCRtjj5PJDDEm8jlz0yxkxaoH6+2FQqyrekK X-Received: by 2002:a05:622a:1651:b0:3f5:2d2a:f05e with SMTP id y17-20020a05622a165100b003f52d2af05emr2009828qtj.24.1686060850815; 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=Jl/5ZEUBYFUf01lO+qrpZFS9uzqZWhABdgg5ug4G9ktOzkJajwV9kiVSs0ZjX2nkRD cI5zLzUYm//BlqI0rVREDRdyB0sJO5HaTK0E+TDGfg0dFRtam7D8e0jhb7hOk2Q38ZXk HODkxbAVILfuvoL1GDr755Vx4gPC8P93qXiyuW+zTuoKJL5F+GGAWQusBfPU4l4g7vVe DQrU0LMc/8Eg2Pjj0Tr4RFrywd8jg+S6h3rJz1tioZSpI+xE6y2buM5zD9mLCNGmtdZU hl+hAO+8e4xqIfXZ24keLRQwtDVEeLoXQU/Uo58qOZi2sVwc0nz1636QUlc5asclOIKj jWcA== 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=vM4MJj/z0alc8hubdwq0cm43Ebd3YBftyjtiu8qEFRQ=; b=eLWyANhLEPYrZeobts3y69Eoe3/0phBxHvbppv6daJvn54m2g3jDwZYIAKw1OWsyNd ZXeU5w/KdiQfsJ6RxHUBTpGvQqGYbTKzi86nX4OVWk5BOhxr+/ktwWMJ6+0heLx1hDz6 OjzzPKqt5b/DNZ64tRVzmdKKlkUG03STbTCxXW8yGJAooH7F5tC+49rvhemiMDWW31I8 oxoHs5yscaQk3ezGlBeipbws+qcowI+9Sk3HfNgQVH+tCXOQt27rn2+iRuVjyu9abgZi GXwQA3ZzBDcC2I7Dqz9NKmiKwdQIEpkukzGOu9FRu84csGPI6E/NRO/hUs/JpKvT8/b+ rKaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oeqtuk+y; 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 j10-20020a05622a038a00b003f39543cea9si1844821qtx.560.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=oeqtuk+y; 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 1q6XRB-000460-Dd; Tue, 06 Jun 2023 10:13:29 -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 1q6XRA-00044Y-IW for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:28 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6XR8-0005UU-MX for qemu-devel@nongnu.org; Tue, 06 Jun 2023 10:13:28 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f61530506aso62656065e9.1 for ; Tue, 06 Jun 2023 07:13:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686060805; x=1688652805; 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=vM4MJj/z0alc8hubdwq0cm43Ebd3YBftyjtiu8qEFRQ=; b=oeqtuk+y44lQZZaihF7z7kKap+ioNkZFFKeoXer0NT0osQJHcb9C5FTWyVRhkyIpzi i5MhC/c4/iDLBeqK3JTkGJg7nLIKvCahJx0ty99ETQOP6PW54E3o3/8+iiZf3MANu3vJ NgCQ1sIMfYbPGk7rAfA3HBJkTBqlBJ03DlXyRVPyX3O5nApuZSCtdopbIGn7KeYF6AuR h2/xsm4Krh4rwMHVCr/8rnC2ltwyBBci0Sl5wwYNkPnhpaZXnL75Z193zHFOPasB6yq2 4w4bccbTWyCFBsVs/Lu083lcOFdo/uKdhywo8c+43fq3NyT2fH25/Ndo4f5lyn66hHy1 p6uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686060805; x=1688652805; 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=vM4MJj/z0alc8hubdwq0cm43Ebd3YBftyjtiu8qEFRQ=; b=KzLPzgJp7daGhgINjLhsNdi2yQALRYOz74bzS6V1xWfL/mrZaBRGM/eWKiN9Y1SE9Q RFFyXwuMy6JtQ7mT+dPN3zBjafd1t8HOZir+YT1BWnPN/SeOdLjRWDtN6FesTafvjfH2 S1qc5yntF0mg3NkMhn23nSUic2CHgYTzCTOrAkCYvGoVfwDXRZcrLFMop55zyU2lJigx QPOqBvhYaOcZDTpPDcYMFV+M0OLReqhURJgyMZ4TVLoaJBNbrrTf3K3gkUzBLWTt2k+e PfG92WzXySHB/u0odExp1VQJ5F1XjpXcuGri7DeICD3zfGi8fNg9VB+K4OSxX5JWJkcl zyWQ== X-Gm-Message-State: AC+VfDwmrvpVkY4qfW5EV1mE56iDyz1rzU2geWXPAZvnXk4UX7krus5U O1+3j8KQs0AeTVrFWOC8UwcpKT55mjmVdcp46OQ= X-Received: by 2002:a05:600c:202:b0:3f6:1474:905 with SMTP id 2-20020a05600c020200b003f614740905mr2701053wmi.29.1686060805454; Tue, 06 Jun 2023 07:13:25 -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 l17-20020a1ced11000000b003f4266965fbsm17802853wmh.5.2023.06.06.07.13.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 06 Jun 2023 07:13:25 -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 5/5] tests/tcg/aarch64: Rename bti-crt.inc.c -> bti-crt.c.inc Date: Tue, 6 Jun 2023 16:12:52 +0200 Message-Id: <20230606141252.95032-6-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::329; envelope-from=philmd@linaro.org; helo=mail-wm1-x329.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 'bti-crt.inc.c' as 'bti-crt.c.inc'. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée --- tests/tcg/aarch64/bti-1.c | 2 +- tests/tcg/aarch64/bti-3.c | 2 +- tests/tcg/aarch64/{bti-crt.inc.c => bti-crt.c.inc} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/tcg/aarch64/{bti-crt.inc.c => bti-crt.c.inc} (100%) diff --git a/tests/tcg/aarch64/bti-1.c b/tests/tcg/aarch64/bti-1.c index 61924f0d7a..99a879af23 100644 --- a/tests/tcg/aarch64/bti-1.c +++ b/tests/tcg/aarch64/bti-1.c @@ -2,7 +2,7 @@ * Branch target identification, basic notskip cases. */ -#include "bti-crt.inc.c" +#include "bti-crt.c.inc" static void skip2_sigill(int sig, siginfo_t *info, ucontext_t *uc) { diff --git a/tests/tcg/aarch64/bti-3.c b/tests/tcg/aarch64/bti-3.c index a852856d9a..8c534c09d7 100644 --- a/tests/tcg/aarch64/bti-3.c +++ b/tests/tcg/aarch64/bti-3.c @@ -2,7 +2,7 @@ * BTI vs PACIASP */ -#include "bti-crt.inc.c" +#include "bti-crt.c.inc" static void skip2_sigill(int sig, siginfo_t *info, ucontext_t *uc) { diff --git a/tests/tcg/aarch64/bti-crt.inc.c b/tests/tcg/aarch64/bti-crt.c.inc similarity index 100% rename from tests/tcg/aarch64/bti-crt.inc.c rename to tests/tcg/aarch64/bti-crt.c.inc