From patchwork Tue Oct 25 23:50:04 2022 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: 618146 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp47240pvb; Tue, 25 Oct 2022 16:51:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7sIGM0BPRu3Z1BhCxvsRIcbObJcoJjDtV81EQ2uLAJYTPfnd3Bw5tM7LJmQs67s4KKFsw8 X-Received: by 2002:a05:622a:14d0:b0:39c:ce79:55f3 with SMTP id u16-20020a05622a14d000b0039cce7955f3mr33947165qtx.215.1666741907250; Tue, 25 Oct 2022 16:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666741907; cv=none; d=google.com; s=arc-20160816; b=v9giX6sRumGKrjA8pLJtR3XzZH8wCBiP59Z1CoUdGq4URx2ErJnDL/sdL4sMWvYuOL 8qhZ3n9md+UY5N+e3XJUyEdr3w7dJ8b/5rYsqWWz8e20tH3UqwFUJfrXhvChNirCUNTP IiO5jgFloFbuyZkpXy2QtWwf+JkNYcknA92xXLWvowYWK7pO6bUQiM+n/YD03twTReQH pI7AO9DCE2Lz7wAwlnbErRtqrvQhMTirCTvKhPB/zxqQ43pz2DnYUUVbwoEv3ofM7Rzd Ylo/16XWTuSoEZGZfPEL1Jnj2WUOgwG/Y5sGGzKmVdPyGL2sHLX6Zx4nW9zOKj9iQXCc uLAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender: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=83SXE8AE3IXPEXq0sb4zKw6WXURfWcnz2Ug5j96SE0k=; b=kV9ahJbYOQc8RzsHNlfSPRWJniRnGELweeIl+YPm1vYErXgi5/e4E3g8SIricrJ9Mr o7HRlkeUALPDtO7TuuA2gQ34KtHASFF/g1MhDaHYJ1CqToYyFkeALXn/6YKpnK35MaGb sCP+ZN2cWxjZVKR7kOSrQdVuahb2cPEqvUh4rSkhGkRH7klrb00nzjBE24+W6KCm4Nw0 PctDXefbt74GfsSLN8WSAa9JMTkyhNSJ/8FYdMXxROmKE7NmHDXdLqviQYxY5oGBFyno Y4y9vgaNlf/HZkqVJPlahT5iLLbN5C6Ur4EDsoi8XnDDADykUmgF8kFwu9aBVoIMDDiR dbWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yXaYxH8F; 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 bt11-20020ac8690b000000b0035ba1e5d423si2559672qtb.627.2022.10.25.16.51.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Oct 2022 16:51:47 -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=yXaYxH8F; 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 1onTgY-0005aA-HI; Tue, 25 Oct 2022 19:50:18 -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 1onTgW-0005U5-H7 for qemu-devel@nongnu.org; Tue, 25 Oct 2022 19:50:16 -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 1onTgV-0002z8-1P for qemu-devel@nongnu.org; Tue, 25 Oct 2022 19:50:16 -0400 Received: by mail-wm1-x336.google.com with SMTP id c3-20020a1c3503000000b003bd21e3dd7aso316167wma.1 for ; Tue, 25 Oct 2022 16:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=83SXE8AE3IXPEXq0sb4zKw6WXURfWcnz2Ug5j96SE0k=; b=yXaYxH8FwywYwB75qCnMBhfGCd5FILaWtTqb117ghpk+Df6r+3ZORvJSKLBePcClFh uZmYRwDcdqVq6rtnsDuQwQsE73wLVaHKKXiKjp3UCRHWHD6Cfh0fm6BWpqqh1kuAdsZn m/lFMPlOHMIg9ip6sFEVlJISmEHPNgsyHlk+5Nz8XR/4k1y4uRFPjgYPyAmULAWkfpxf uDcGhG3QLlvU9U3BLdLn0QpO9k6COGCprNaSUQTECm77PtsbsuZ82GtfbedHylheSX/f YOIjNvslgdSPMNYSkolKWCJ1qzHp4HETAeAiaEqV/nJPPJl6dNtO9VB3c3zz9wRkZ9pZ OJhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=83SXE8AE3IXPEXq0sb4zKw6WXURfWcnz2Ug5j96SE0k=; b=u3v9khi/qIvrfvTTQgdBOyLOF7XDRSN+z5rNshMP4JUhnI6YSyv7q3a9ATby9U1Ky2 zUVou9UgND5/2dRM8eqomrpNYfkzzyCz9Hz1+MfZmMNhx6YWPf4JfzW+VniDKPasKeoS /9pgJbbpOeua+0WYz+vhabZVmWDUQ0fOeHTlMoRFJjproxrjdU9N20eCUoHqBLzYhUXY i10N34JBNWjJiuzz/QyuklcCnFdxlxuZU8rCARMzvf2K5s+OO6iDQAGVhx+dQ7hyr5Kt vcyaCIHKwEQcW3VO5j2Zt9+cAsiqqOXOgTZCHiy5SsM50uhI6yV+FuFfN5/XX3ivzLVj PTQg== X-Gm-Message-State: ACrzQf2NfXBHsfbkkj0YXeahS+8rsfgr1RHFBQ1SUE/PCj12mPnEdIPj fnaAN8gDgF2BDmQfnSXE6B1U9KBMa2WuK152 X-Received: by 2002:a05:600c:42c6:b0:3c6:f27e:cac8 with SMTP id j6-20020a05600c42c600b003c6f27ecac8mr410140wme.175.1666741813559; Tue, 25 Oct 2022 16:50:13 -0700 (PDT) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id r29-20020adfa15d000000b002365f326037sm4649107wrr.63.2022.10.25.16.50.12 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 25 Oct 2022 16:50:13 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: David Hildenbrand , Bastian Koppelmann , Thomas Huth , qemu-s390x@nongnu.org, Richard Henderson , Laurent Vivier , Cornelia Huck , qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 1/3] target/m68k: Rename qregs.def -> qregs.h.inc Date: Wed, 26 Oct 2022 01:50:04 +0200 Message-Id: <20221025235006.7215-2-philmd@linaro.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221025235006.7215-1-philmd@linaro.org> References: <20221025235006.7215-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 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: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org We use the .h.inc extension to include C headers. To be consistent with the rest of the codebase, rename the C headers using the .def extension. IDE/tools using our .editorconfig / .gitattributes will leverage this consistency. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Laurent Vivier --- target/m68k/{qregs.def => qregs.h.inc} | 0 target/m68k/translate.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename target/m68k/{qregs.def => qregs.h.inc} (100%) diff --git a/target/m68k/qregs.def b/target/m68k/qregs.h.inc similarity index 100% rename from target/m68k/qregs.def rename to target/m68k/qregs.h.inc diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 9df17aa4b2..f018fa9eb0 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -39,7 +39,7 @@ #define DEFO32(name, offset) static TCGv QREG_##name; #define DEFO64(name, offset) static TCGv_i64 QREG_##name; -#include "qregs.def" +#include "qregs.h.inc" #undef DEFO32 #undef DEFO64 @@ -75,7 +75,7 @@ void m68k_tcg_init(void) #define DEFO64(name, offset) \ QREG_##name = tcg_global_mem_new_i64(cpu_env, \ offsetof(CPUM68KState, offset), #name); -#include "qregs.def" +#include "qregs.h.inc" #undef DEFO32 #undef DEFO64 From patchwork Tue Oct 25 23:50:05 2022 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: 618145 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp47204pvb; Tue, 25 Oct 2022 16:51:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7QW1rnJy97dBN4aqJ+74maIWRqdL90acq5k1XW7oi+MK07vP/wapLV8gmRawbyqsKr/9Aj X-Received: by 2002:a05:620a:51ca:b0:6f5:71e1:5ccf with SMTP id cx10-20020a05620a51ca00b006f571e15ccfmr8929893qkb.217.1666741901340; Tue, 25 Oct 2022 16:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666741901; cv=none; d=google.com; s=arc-20160816; b=ndqLKCstXxxFPKWmqlDZBHBHlFeR0zR1+hYwXnJ5ewfItM7NxW6lCrz2+cyy4mqgjs E2Pv6gSbeJzMdKy9wXC2usw4ULe0kLrMAaqjICqddN0AEMn8lVy63u2W2ltEbndIx7pR IIJKBmtpjiqpjWolUTaRwAPuoQYWFnM3szighGNPuGoXKWwOcSmK7BZHEg2N++VUanSf gwR8rv50/dOq5Xq0soaYKQmF7VqmlB1zlQXZNtTz/q48Se6NsSHA7eNS4o+XMljbBu4q LMxDEn4Tt2I6NyD5Up8YPS9QgyFVhuCraqGzgrwsGR5klvspdsQ6T289+4+PqbwvV2Ah SAhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender: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=0yTaGsZHNPUu3CilHrQm5jTyitcs79CW2tWvEcIMGsg=; b=NWspaU1DrHu7mn5d7z8pNNswv+sp7G55luTrpx3DGnLi+ozx0V6V8DRSeM2c/E1oAc 6nZgIz9+NC04XprznW411GC3eyzB3ir04Q+dvUrxhnNKYYIjJ2O3M/V2fGwPLbWcFBYt 7bqjnrpToSjkx4gGVFI04/7PlYkjfZgM3ZEMi3olhFsmIibZRhUKUetAb+4ZaANodlpf T2KnNUfLLhHeM+uM/TamAbbigGKcrw3EU3tHkIQ/jTIrnUblZ2jWDk/mKG/JJ37UydI8 1t3Krzx1xGaHjqpO8AvBwCj7tv35foosgBaEBxfoIKgtLkqYTXCC/af29VYP453e1fR2 5FNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TfJZ24W0; 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 w15-20020ac843cf000000b0039d048b0fefsi2375932qtn.730.2022.10.25.16.51.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Oct 2022 16:51:41 -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=TfJZ24W0; 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 1onTgd-0005v9-P0; Tue, 25 Oct 2022 19:50:23 -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 1onTgc-0005qp-Gq for qemu-devel@nongnu.org; Tue, 25 Oct 2022 19:50:22 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onTgZ-0003Ac-PD for qemu-devel@nongnu.org; Tue, 25 Oct 2022 19:50:22 -0400 Received: by mail-wr1-x436.google.com with SMTP id g12so10890696wrs.10 for ; Tue, 25 Oct 2022 16:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=0yTaGsZHNPUu3CilHrQm5jTyitcs79CW2tWvEcIMGsg=; b=TfJZ24W04kprBgQyLV6Cc471bE0Nfmfg9QUn2RftxA+QlS4u5WEhadL2SOuRZItHYg e6YI316l5hvIrZM/1TdvBL6pQzXHsMwN9967EKpDoqnOKuO4NtWdu/JnjHcN4hMIbcnj YlHt2yO7EJYxqeheQLUv+2+a5N6vpC+hjYk023lWaTrISVKMxZFjVfsw64kD0ToSRzzL w+52zhebgN2HUH7Q1X2hIV9ARWMATjeknmsNuAxR0m4IMqrDKZ5dXOaZWxKjsEAGthAH WUdGnSVyib1eLi19VfB0xjWsZTlx9c2m0dNBVJuoOh2Zvx59UyJmU4bzz2swfrYSyvtf EZag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=0yTaGsZHNPUu3CilHrQm5jTyitcs79CW2tWvEcIMGsg=; b=L6GJXyGAA3ExRnQgbQeiEJ5K2S5RGEGCnWoiGO3miAsdhCAfdf7Q8xYpqZ/HD1JP43 TU7G/ejonQB3hW29XSDTSlq647uvSIR2qodScsJrKwEOD8NUGlbZxMUhptkLWCFm+bp6 iex9Wf4OKDQi/TFOfO7kBGBGp1fqjoUpt4zmeSEMBh/Yvyf9KpNxQDswDOcIi2LpGepW e7jfzTFmuwibrXd4Ioyv3K7iIR+ae5v9eicudAw0hTINjIGjtw4EcukVxlSkk9wM1Lzj sBdGEWCeH0naAAWc1Q/uVyRYh0U/FViwIPhBD51dZo3QlSv8RYRVeeNIKugtqnhgB6ip Qa4A== X-Gm-Message-State: ACrzQf0tQ/vv96NJO/hjkjR+aDJb54GvYv7oBwjx4l6JPbKS3dN5jM+6 gQfTRLUpfG3Oa+fXspN07DuE1y9BltsuEzg5 X-Received: by 2002:adf:cc92:0:b0:236:77f0:ef5f with SMTP id p18-20020adfcc92000000b0023677f0ef5fmr7221110wrj.198.1666741818381; Tue, 25 Oct 2022 16:50:18 -0700 (PDT) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id p15-20020a1c740f000000b003c6fb525b4csm268551wmc.38.2022.10.25.16.50.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 25 Oct 2022 16:50:18 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: David Hildenbrand , Bastian Koppelmann , Thomas Huth , qemu-s390x@nongnu.org, Richard Henderson , Laurent Vivier , Cornelia Huck , qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/3] target/s390x: Rename insn-data/format.def -> insn-data/format.h.inc Date: Wed, 26 Oct 2022 01:50:05 +0200 Message-Id: <20221025235006.7215-3-philmd@linaro.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221025235006.7215-1-philmd@linaro.org> References: <20221025235006.7215-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.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 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: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org We use the .h.inc extension to include C headers. To be consistent with the rest of the codebase, rename the C headers using the .def extension. IDE/tools using our .editorconfig / .gitattributes will leverage this consistency. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- target/s390x/tcg/{insn-data.def => insn-data.h.inc} | 2 +- .../s390x/tcg/{insn-format.def => insn-format.h.inc} | 0 target/s390x/tcg/translate.c | 10 +++++----- 3 files changed, 6 insertions(+), 6 deletions(-) rename target/s390x/tcg/{insn-data.def => insn-data.h.inc} (99%) rename target/s390x/tcg/{insn-format.def => insn-format.h.inc} (100%) diff --git a/target/s390x/tcg/insn-data.def b/target/s390x/tcg/insn-data.h.inc similarity index 99% rename from target/s390x/tcg/insn-data.def rename to target/s390x/tcg/insn-data.h.inc index 6382ceabfc..7e952bdfc8 100644 --- a/target/s390x/tcg/insn-data.def +++ b/target/s390x/tcg/insn-data.h.inc @@ -8,7 +8,7 @@ * * OPC = (op << 8) | op2 where op is the major, op2 the minor opcode * NAME = name of the opcode, used internally - * FMT = format of the opcode (defined in insn-format.def) + * FMT = format of the opcode (defined in insn-format.h.inc) * FAC = facility the opcode is available in (defined in DisasFacility) * I1 = func in1_xx fills o->in1 * I2 = func in2_xx fills o->in2 diff --git a/target/s390x/tcg/insn-format.def b/target/s390x/tcg/insn-format.h.inc similarity index 100% rename from target/s390x/tcg/insn-format.def rename to target/s390x/tcg/insn-format.h.inc diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index 1d2dddab1c..f378e1a633 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -1011,7 +1011,7 @@ static void free_compare(DisasCompare *c) #define F6(N, X1, X2, X3, X4, X5, X6) F0(N) typedef enum { -#include "insn-format.def" +#include "insn-format.h.inc" } DisasFormat; #undef F0 @@ -1076,7 +1076,7 @@ typedef struct DisasFormatInfo { #define F6(N, X1, X2, X3, X4, X5, X6) { { X1, X2, X3, X4, X5, X6 } }, static const DisasFormatInfo format_info[] = { -#include "insn-format.def" +#include "insn-format.h.inc" }; #undef F0 @@ -6143,7 +6143,7 @@ static void in2_insn(DisasContext *s, DisasOps *o) #define E(OPC, NM, FT, FC, I1, I2, P, W, OP, CC, D, FL) insn_ ## NM, enum DisasInsnEnum { -#include "insn-data.def" +#include "insn-data.h.inc" }; #undef E @@ -6223,7 +6223,7 @@ enum DisasInsnEnum { #define FAC_MIE3 S390_FEAT_MISC_INSTRUCTION_EXT3 /* miscellaneous-instruction-extensions facility 3 */ static const DisasInsn insn_info[] = { -#include "insn-data.def" +#include "insn-data.h.inc" }; #undef E @@ -6233,7 +6233,7 @@ static const DisasInsn insn_info[] = { static const DisasInsn *lookup_opc(uint16_t opc) { switch (opc) { -#include "insn-data.def" +#include "insn-data.h.inc" default: return NULL; } From patchwork Tue Oct 25 23:50:06 2022 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: 618147 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp49566pvb; Tue, 25 Oct 2022 16:57:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5JG0RFXAxBzxqZQMv5km1RW6PCHLlrdS6Tm+B/IwyUb1fCj5oKHqBem5GExWSZc/VM2ms0 X-Received: by 2002:a05:6214:c2d:b0:4b3:5d60:f41e with SMTP id a13-20020a0562140c2d00b004b35d60f41emr34207357qvd.37.1666742245877; Tue, 25 Oct 2022 16:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666742245; cv=none; d=google.com; s=arc-20160816; b=ysbO2+k9fW6mv+6xvvZlznaLFRySgNldYKBU7CjEm3qM3sJ7VpPnoz1FYb7+5Awwf2 wN+5wInmCnRJ/E0Ks7Ilk3sWXw5iax2hXmL/vKVb7g6FZj84e0gox+CMcJRluGVDp5Bf dE4Q9lONNfTmJ5dlt+5y6EG1M+VsnEYEMi+RVlTUS1LdMNBj+B+OEUGNlfjyLWJtbDmO tqYzJ+H/i6OoFjHu9kVbateTmu55FNOP4F+gvzlEVLczSJwy3fzBQ9PGmmk9btKSCl1H Omj5uscfHUDta17JE+P9KAPg7am6oRq6E13IGqbTgtR2VDG078AXeca9IvYEhvP9fedy QT/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender: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=vh73FyzeCa96lyMftRBslatxPlyeRzpgoLs0z6zLidE=; b=xV0cG4rx+PPH8p6xsAoXR2gk1CtTceVMIRtbWLpDOncG+mAQenI4Xh4dJvjQembHG4 BGcAEzKIf/it/3DyE8v06wCEiFZ6Nhdp0joT84RNw9t6Zedc4Cjoh8bnpcRM7QdstY4s ssUNBmvAAe3EV6tYXPmA6DJiZ29tANtf879UleX4qBrL3iehi40g4o5AFMp81JiOagev 8ni9I/eNQiBY0JuSiiw8C7mnagT7NACP8Hjf/7+3PMdpyeeotILjivZT6eef2ER9wViD R0NCppeWM/WkUdxpnBvxTdoptatQf+J4b0ThtCIgIoQsZg71nrdsQ0cqLUJ4WpQFU/k2 hlTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HMVOiDeE; 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 e123-20020a378281000000b006e73f176c7bsi2470266qkd.498.2022.10.25.16.57.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Oct 2022 16:57:25 -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=HMVOiDeE; 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 1onTgg-000630-AX; Tue, 25 Oct 2022 19:50:26 -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 1onTgf-00062Y-HC for qemu-devel@nongnu.org; Tue, 25 Oct 2022 19:50:25 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onTgd-0003AU-Vj for qemu-devel@nongnu.org; Tue, 25 Oct 2022 19:50:25 -0400 Received: by mail-wr1-x42f.google.com with SMTP id z14so10175787wrn.7 for ; Tue, 25 Oct 2022 16:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=vh73FyzeCa96lyMftRBslatxPlyeRzpgoLs0z6zLidE=; b=HMVOiDeE3V1JH++uUgxjWnJW6G4ec7mcKLTYRfvpLG82g/ZjrgGM9eU7ZiHSLMlaDb MoVyuElbihL4e2VoHFCSkv445EQUXLJrgjrFnjq9368SEOsHa7/o3ToJB/+usB5R0ob/ MPlSNE1xsTo4k1I7q16mhgQiNbIyiRIQRJnvak1MG0uFmiC82JPqLJwOTxSTo3T9qE17 IoDqwdsauryDeBZkOnyy2ynIwaOPf9Qt10fpQJn+pSOHQamjxoHdF/fOvstmUdg4sgL8 NeZZ7u2PIVcB1dONLXWPJAwZOPiDo7fhA+tAtx0e7YQuL/RnuePNzjlJli8odrQryf4l vNgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=vh73FyzeCa96lyMftRBslatxPlyeRzpgoLs0z6zLidE=; b=g5irH+9O62H/kzd6wejNQa3HIMxm4qt8B7BsIg78W9krucpGqcpuIsUDYZ8sX5JiYY PZdIdDYnTJHezM4j/C8v0rVyuoh9uR1k5UyKj6/oSvn4Ldp1gpnwEUSJ7TxhsFiqDs/y pUQ0AS1oJcLodnzSpJzgkatEIzjzf4j6tcrElEHQvjwEsQ3FsWcjAZeIrG0nRJaJt8qK t9ZUKSRhgM5WYdIa4qs/0UUBiUMfaiSUNsxh0x1JBRrxV2lugX5vgiezr+qnNEAJ1+nC bk0jRUeCbU/37eabuS5kajWiXKDwMc/9DOx/NGZ4H8T/ukGXcC0stbvEmqM/hMOwjIIh OaVQ== X-Gm-Message-State: ACrzQf2zKVmScbl3m43+AaksQj6khaz/Lqm98kjjvkKUralTBvw5Vtf1 Wv9u23ITLvfQhWIF217muvBadaou4FI29/LX X-Received: by 2002:adf:e84a:0:b0:236:5f2d:9027 with SMTP id d10-20020adfe84a000000b002365f2d9027mr13170317wrn.89.1666741823233; Tue, 25 Oct 2022 16:50:23 -0700 (PDT) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id a2-20020a056000050200b0023662245d3csm3718909wrf.95.2022.10.25.16.50.22 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 25 Oct 2022 16:50:22 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: David Hildenbrand , Bastian Koppelmann , Thomas Huth , qemu-s390x@nongnu.org, Richard Henderson , Laurent Vivier , Cornelia Huck , qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 3/3] target/tricore: Rename csfr.def -> csfr.h.inc Date: Wed, 26 Oct 2022 01:50:06 +0200 Message-Id: <20221025235006.7215-4-philmd@linaro.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221025235006.7215-1-philmd@linaro.org> References: <20221025235006.7215-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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 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: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org We use the .h.inc extension to include C headers. To be consistent with the rest of the codebase, rename the C headers using the .def extension. IDE/tools using our .editorconfig / .gitattributes will leverage this consistency. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Bastian Koppelmann --- target/tricore/{csfr.def => csfr.h.inc} | 0 target/tricore/translate.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename target/tricore/{csfr.def => csfr.h.inc} (100%) diff --git a/target/tricore/csfr.def b/target/tricore/csfr.h.inc similarity index 100% rename from target/tricore/csfr.def rename to target/tricore/csfr.h.inc diff --git a/target/tricore/translate.c b/target/tricore/translate.c index a0558ead71..f02090945d 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -388,7 +388,7 @@ static inline void gen_mfcr(DisasContext *ctx, TCGv ret, int32_t offset) gen_helper_psw_read(ret, cpu_env); } else { switch (offset) { -#include "csfr.def" +#include "csfr.h.inc" } } } @@ -418,7 +418,7 @@ static inline void gen_mtcr(DisasContext *ctx, TCGv r1, gen_helper_psw_write(cpu_env, r1); } else { switch (offset) { -#include "csfr.def" +#include "csfr.h.inc" } } } else {