From patchwork Mon Aug 28 14:55:40 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: 717733 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1231548wru; Mon, 28 Aug 2023 07:57:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOQi92Vz30JlxPJ6p/vO7ANXVoQi/JT1+9mQnGf/NC2+eUqFN3T/+ZVVYljMe17oeVE2NC X-Received: by 2002:a05:6358:93a5:b0:13c:cb77:8da with SMTP id h37-20020a05635893a500b0013ccb7708damr7686932rwb.1.1693234677639; Mon, 28 Aug 2023 07:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693234677; cv=none; d=google.com; s=arc-20160816; b=jZdWiuk55NBbh7gBdQ/OI2f88BHFJAHMsRPw6z4JdgGDGoE8jyTdHN7+cf6zThXAUa Mj9EhfxOdZwdyH5O42uNH5qLeCzigMhpFomelTdgIWt2SxMhLZtYTBZJPJOQWRrYCuMO 3LYMmX9+17Q37uafbAkZ04cyLCFscsa48MmxFF0XcOCFRHazUWNFAEgPJCXQRgUK/Lvm cuNZrhTEXznSWcPVGK21bHUHL0U7+mW7aKVF7jJ1CFHv9AlmRza0rIA7mRuc8OdHdsvp jOUPTGRk15E19tSHyX3vXVoW7S/QUy+SKLg8uI0E2+RnBuGNOQXE73ZJKDXsx1EqoOH/ FsUQ== 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=zXtDlBaV4QYBxAWaYJ7Na+553ToqZMUDyRUVndMkrKA=; fh=FxYtB1slzL/yn78+bieLaailXu9MIAo7Kb5vkjusizk=; b=Nw3u451vGN8psqUoQJVL2dryVAsTdtGcOhniqFl9Ihkjn82A+mNu8gX+yUUKXnKycG Ru+grNFeOit/AXDBI7gPov8c7slU5Xng9OVAaWUd1kucNzkdrtR564H+aMScm332TlZU GcUu5pmfqOazi6OEIgodL/BeHGzTwlnBvOgOl/q4xlhzwqepa9BEQ98e+53wuYIgU1Yu W7Idq7/pxFabMRh/ZYr+QrNyAiikjfIk8ofez7ts7Eru0klMtUUILWMSD1qaEb0SGlJr qfGkqMzkM2+4mShet+lCYqOcx0nk78uBcQ+W046FzTOGDVSEFrfedNhDw9ucJmdFh+CO 6JCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fi5EfCZi; 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-20020a05622a118f00b004109b93a867si4817927qtk.474.2023.08.28.07.57.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 07:57:57 -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=Fi5EfCZi; 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 1qadf3-0003PQ-Pp; Mon, 28 Aug 2023 10:56:13 -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 1qadf1-0003OF-UF for qemu-devel@nongnu.org; Mon, 28 Aug 2023 10:56:11 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qadey-0000fJ-5q for qemu-devel@nongnu.org; Mon, 28 Aug 2023 10:56:11 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-401b393df02so32141295e9.1 for ; Mon, 28 Aug 2023 07:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693234566; x=1693839366; 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=zXtDlBaV4QYBxAWaYJ7Na+553ToqZMUDyRUVndMkrKA=; b=Fi5EfCZizUdiyM0qhIfy80uUGXGeZVRvKB9AepVxClNSEo6fT6nngK8MSTGmXkWK0J InhkoXhL2bUvjJ6axowNG38eNED0WMXI3DfdsUs02Rz2ud2mM+A9J458X5y23fmFxkXo 9C8mEU/zNMzlGragzyORb9jNcDuTdF+XWrS7LFMCghJO91UhzSaGannkoTynSUO++jTu TMz0rN5jG6hGQWsL0Cdk70Lq1Kmm1SmfWgE/tzfpPVeyrpiK8OZgjBqBqAg4IQSTQJ0v U+d0cYH89eaIrlt7rX2+6rFoua8AG8BPW7vN4uq/ZJUNCRWpOFnpZSBg1BMx6uPAMu0+ 5uOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693234566; x=1693839366; 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=zXtDlBaV4QYBxAWaYJ7Na+553ToqZMUDyRUVndMkrKA=; b=GPzJncewIdhhv27n3FzzOKJ9g7Gr3J9OTRDC6lgDQV7QwoqKu0OfSx84oab9IVjxLR syUjd/6H7LpWhxwLtzBUhnF2//1mhbZEgt+GAWcbGqc9Bnwi3VOlTZEMLcJTUrmepves S6mPBJUu2TH0mWDsJQ2r9gepIKUm5gIVVgNN9Ka0npcOSINnkdQ4p29HlMOVFUc8AQT8 w5n12wiOhBC55rzdFJrWUPV4ufKqmHdMu2lIspOGLHfmWkEXlVedTUgN4jfQfZ6q0XZy wdIG0xumoOjxVpaQqIOkoxKR07Pq0eyqDTAOEF5M3HMT14r+5tpswoqKnYd+EZoJhC3B p16w== X-Gm-Message-State: AOJu0Yz4h0jyZmqJPPdkfxE4jQkBhScsBoHJNwzUQ0x/nW1QbOLXj7O/ gdaSp39hEA4pUKqhdaLUg3Lzle4nMNV/Mfgu8h0= X-Received: by 2002:adf:ee8b:0:b0:319:6997:942e with SMTP id b11-20020adfee8b000000b003196997942emr18952747wro.8.1693234566159; Mon, 28 Aug 2023 07:56:06 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id h14-20020a05600c260e00b003fefb94ccc9sm10943778wma.11.2023.08.28.07.56.04 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 07:56:05 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 3/8] target/translate: Include missing 'exec/cpu_ldst.h' header Date: Mon, 28 Aug 2023 16:55:40 +0200 Message-ID: <20230828145545.81165-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828145545.81165-1-philmd@linaro.org> References: <20230828145545.81165-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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 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 All these files access the CPU LD/ST API declared in "exec/cpu_ldst.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/avr/helper.c | 1 + target/i386/tcg/fpu_helper.c | 1 + target/i386/tcg/sysemu/excp_helper.c | 1 + target/loongarch/cpu.c | 1 + target/mips/tcg/ldst_helper.c | 1 + target/mips/tcg/msa_helper.c | 1 + target/riscv/op_helper.c | 1 + target/riscv/vector_helper.c | 1 + 8 files changed, 8 insertions(+) diff --git a/target/avr/helper.c b/target/avr/helper.c index e6e7d51487..fdc9884ea0 100644 --- a/target/avr/helper.c +++ b/target/avr/helper.c @@ -24,6 +24,7 @@ #include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/address-spaces.h" #include "exec/helper-proto.h" diff --git a/target/i386/tcg/fpu_helper.c b/target/i386/tcg/fpu_helper.c index 6f3741b635..4430d3d380 100644 --- a/target/i386/tcg/fpu_helper.c +++ b/target/i386/tcg/fpu_helper.c @@ -21,6 +21,7 @@ #include #include "cpu.h" #include "tcg-cpu.h" +#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "fpu/softfloat-macros.h" diff --git a/target/i386/tcg/sysemu/excp_helper.c b/target/i386/tcg/sysemu/excp_helper.c index b5f0abffa3..226689a4f2 100644 --- a/target/i386/tcg/sysemu/excp_helper.c +++ b/target/i386/tcg/sysemu/excp_helper.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "cpu.h" +#include "exec/cpu_ldst.h" #include "exec/exec-all.h" #include "tcg/helper-tcg.h" diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c index 27fc6e1f33..65f9320e34 100644 --- a/target/loongarch/cpu.c +++ b/target/loongarch/cpu.c @@ -11,6 +11,7 @@ #include "qapi/error.h" #include "qemu/module.h" #include "sysemu/qtest.h" +#include "exec/cpu_ldst.h" #include "exec/exec-all.h" #include "cpu.h" #include "internals.h" diff --git a/target/mips/tcg/ldst_helper.c b/target/mips/tcg/ldst_helper.c index c1a8380e34..97056d00a2 100644 --- a/target/mips/tcg/ldst_helper.c +++ b/target/mips/tcg/ldst_helper.c @@ -24,6 +24,7 @@ #include "cpu.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/memop.h" #include "internal.h" diff --git a/target/mips/tcg/msa_helper.c b/target/mips/tcg/msa_helper.c index 29b31d70fe..c8597b9e30 100644 --- a/target/mips/tcg/msa_helper.c +++ b/target/mips/tcg/msa_helper.c @@ -22,6 +22,7 @@ #include "internal.h" #include "tcg/tcg.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/memop.h" #include "fpu/softfloat.h" diff --git a/target/riscv/op_helper.c b/target/riscv/op_helper.c index 9cdb9cdd06..7e2f1908ee 100644 --- a/target/riscv/op_helper.c +++ b/target/riscv/op_helper.c @@ -23,6 +23,7 @@ #include "internals.h" #include "qemu/main-loop.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" /* Exceptions processing helpers */ diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index 4d06754826..e3ef2113d6 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -22,6 +22,7 @@ #include "cpu.h" #include "exec/memop.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "tcg/tcg-gvec-desc.h"