From patchwork Thu Aug 31 12:56:13 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: 718994 Delivered-To: patch@linaro.org Received: by 2002:adf:e5c2:0:b0:31d:da82:a3b4 with SMTP id a2csp462137wrn; Thu, 31 Aug 2023 06:10:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvwJaomLsVSgYLhpqZhatdglXtGghMBjidAuLmbub2ylE8ES5RRWxiOr0LgSJ6kPURSmyq X-Received: by 2002:a05:622a:1893:b0:411:ff22:b37f with SMTP id v19-20020a05622a189300b00411ff22b37fmr2706446qtc.16.1693487435935; Thu, 31 Aug 2023 06:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693487435; cv=none; d=google.com; s=arc-20160816; b=Wm2GCAWC6qau5fS4XGBXyuDgy2wLkDSdmAd1NOqqZoh5iieMCxdIf4j4C5rHZwA/gW k56TtAUBdWAEgGdITw3rSFCDa4mUa/a6ZnV2HKZus/Itob6u3Ma1AGIqZ/3Sd3DGcIy7 gUwAwbakOLxmkRzSTeUzPPmYkzQSOyy8zH3YX2aER3Ba8lEkCMAAnNwmVm4dL7H0J+6V tuVxXEpMTN4ORI2I8BXUcW9OiB0NQYVQsqnqENA9jRr2scS+aHWo2xxgr2UXGkpGT3J1 LJK6u7Eo42vZDXeXyUAzTfAS2W1dimZGy6XO1sc5BelOBwO2iPes4b498zrIdzrb04d+ rgyA== 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=EWFG4EongnTwNm4gc3SaYrZZrKAf899rD48bNs5phBA=; fh=YSseXhaASgT14RYDeqdxM3B3Tn9CQf6fAO7oyEFtT3s=; b=UQ6upQGD6wrHpX7tOwU86hhklx7fBxWk1hnfv4trs/iAaP5B+GBpLUKD4qKXh6EXmO o+ea276mNbbFAWw+BFlirkVZ4HR5xVI7cQB9Uetn1RHjmszQ/HDdhs7uwZrZrMcvYDNN sdMebxLoQaJwEw7l0Niwd7dsnxZCN4j+tsPMIoQN7yzdCh+vSw6Gmrd5dywF2ZET3rW/ q4wgoGvDm/20sKKewEONbeUw1pni5gJxYoZ9drEKtctkQcn6uO0//csSyfP8toMRpoDn aXYLNN2BR/JnoHb2Ic4OWesTlokixWUD1IxeEiEUDKM4iBtIzfaMnsIUZATfXJQOgv+a i/dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="jX/FUq1O"; 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 q6-20020a05622a04c600b00403eeb8f219si782702qtx.753.2023.08.31.06.10.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Aug 2023 06:10:35 -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="jX/FUq1O"; 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 1qbhId-00022T-S8; Thu, 31 Aug 2023 09:01:41 -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 1qbhFJ-00035U-Di for qemu-devel@nongnu.org; Thu, 31 Aug 2023 08:58:02 -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 1qbhFE-0005Qc-O3 for qemu-devel@nongnu.org; Thu, 31 Aug 2023 08:58:00 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-31c7912416bso645402f8f.1 for ; Thu, 31 Aug 2023 05:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693486674; x=1694091474; darn=nongnu.org; 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=EWFG4EongnTwNm4gc3SaYrZZrKAf899rD48bNs5phBA=; b=jX/FUq1O8cVMqN4lk9eTKpzdYY4Cq5uh7c+rnkz6M1llJmbnXIt61glTJnw755byiZ l8Lcn+M4H9dU2Wm3YEzTU5nuH9Edb9ZWbmz3HkHPmH8lyJMHr2jw5lwRYlER0apypElL GTOoIm+4NIi+XcZJmjVnnXjCX5/H6vvmVe4mSFhSWRxtSLDsXG1/eey9sTiJn1xL1lpD zJoMBqDwuLTBt//sWlJ2X0BO1Kxrj152SwwV2jCgT47pbGMKnljumfSCoGK01tGQD/KM I715LKPdYuh2w+hLaYnOHr9rO+Ve8g5odmteul3TV6yKK5ELM2aQHrA6HarMRdMK7yG8 8O3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693486674; x=1694091474; 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=EWFG4EongnTwNm4gc3SaYrZZrKAf899rD48bNs5phBA=; b=QqOTpLuLqo+R1FQqsUJ2mwOtaGT5QlOJohvqk3mgQTNxWT9+ygEnAsTHJq0DITmK2M Y239gOWAO4oPEW4DJSC33yurYTo3s6jvIrcUu9GME9YP5q/nJ3JJb/sUnWg2dYwgNcgl YqlVcHF5iJrpOyyM7Wkx8F2FhsoOUfOQ/gStZicrj9C5PQ5sIMtUeXb1DdR/SXXWfE/I 2cNIK19EGHxE5KPJmGQJiQleziQAiqV4iHPGIuq+K4dLiFJ0L90qkmGHgW5ro/TQKnhB b4UvXvBDfPABpVc1dTvULt6eD2j/2ZIBo6HVyHwxeg+5OYwUjv2qNZCQoNMwk9KGQHYY 4DJg== X-Gm-Message-State: AOJu0Yw/9qWN64QI+C3VQkQIYy99GC7mEk4zrn4ugnBRi8g2A+rXuZ+Q jvTFv6p/uo/lKQHqhJcdPvKwo0jn4ayC+c//ZtE= X-Received: by 2002:a5d:5242:0:b0:31a:d2b2:f29d with SMTP id k2-20020a5d5242000000b0031ad2b2f29dmr4355231wrc.8.1693486673944; Thu, 31 Aug 2023 05:57:53 -0700 (PDT) Received: from m1x-phil.lan ([176.187.199.245]) by smtp.gmail.com with ESMTPSA id l3-20020a1ced03000000b003feae747ff2sm5128839wmh.35.2023.08.31.05.57.52 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 31 Aug 2023 05:57:53 -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, qemu-block@nongnu.org, =?utf-8?q?Philippe_Mathieu-Da?= =?utf-8?q?ud=C3=A9?= , Richard Henderson , Brian Cain , Laurent Vivier , "Edgar E. Iglesias" , Chris Wulff , Marek Vasut , Stafford Horne , Daniel Henrique Barboza , =?utf-8?q?C=C3=A9dric_Le_G?= =?utf-8?q?oater?= , David Gibson , Greg Kurz , Nicholas Piggin , Yoshinori Sato , Mark Cave-Ayland , Artyom Tarasenko Subject: [PULL 11/41] target/translate: Remove unnecessary 'exec/cpu_ldst.h' header Date: Thu, 31 Aug 2023 14:56:13 +0200 Message-ID: <20230831125646.67855-12-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230831125646.67855-1-philmd@linaro.org> References: <20230831125646.67855-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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org All these files only access the translator_ld/st API declared in "exec/translator.h". The CPU ld/st API from declared in "exec/cpu_ldst.h" is not used, remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20230828221314.18435-5-philmd@linaro.org> --- target/alpha/translate.c | 1 - target/hexagon/translate.c | 1 - target/hppa/translate.c | 1 - target/m68k/translate.c | 1 - target/microblaze/translate.c | 1 - target/nios2/translate.c | 1 - target/openrisc/translate.c | 1 - target/ppc/translate.c | 1 - target/sh4/translate.c | 1 - target/sparc/translate.c | 1 - 10 files changed, 10 deletions(-) diff --git a/target/alpha/translate.c b/target/alpha/translate.c index 0839182a1f..9be912c50c 100644 --- a/target/alpha/translate.c +++ b/target/alpha/translate.c @@ -24,7 +24,6 @@ #include "qemu/host-utils.h" #include "exec/exec-all.h" #include "tcg/tcg-op.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/translator.h" diff --git a/target/hexagon/translate.c b/target/hexagon/translate.c index 708339198e..c00254e4d5 100644 --- a/target/hexagon/translate.c +++ b/target/hexagon/translate.c @@ -23,7 +23,6 @@ #include "exec/helper-gen.h" #include "exec/helper-proto.h" #include "exec/translation-block.h" -#include "exec/cpu_ldst.h" #include "exec/log.h" #include "internal.h" #include "attribs.h" diff --git a/target/hppa/translate.c b/target/hppa/translate.c index e3af668252..c04dc15228 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -23,7 +23,6 @@ #include "qemu/host-utils.h" #include "exec/exec-all.h" #include "tcg/tcg-op.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/translator.h" diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 15b3701b8f..9e224fe796 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -25,7 +25,6 @@ #include "tcg/tcg-op.h" #include "qemu/log.h" #include "qemu/qemu-print.h" -#include "exec/cpu_ldst.h" #include "exec/translator.h" #include "exec/helper-proto.h" diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 7e7f837c63..d02c16296a 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -24,7 +24,6 @@ #include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" -#include "exec/cpu_ldst.h" #include "exec/helper-gen.h" #include "exec/translator.h" #include "qemu/qemu-print.h" diff --git a/target/nios2/translate.c b/target/nios2/translate.c index 4264c7ec6b..dfc546d3bb 100644 --- a/target/nios2/translate.c +++ b/target/nios2/translate.c @@ -29,7 +29,6 @@ #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/log.h" -#include "exec/cpu_ldst.h" #include "exec/translator.h" #include "qemu/qemu-print.h" #include "semihosting/semihost.h" diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c index 7c6f80daf1..d65758449f 100644 --- a/target/openrisc/translate.c +++ b/target/openrisc/translate.c @@ -26,7 +26,6 @@ #include "qemu/log.h" #include "qemu/bitops.h" #include "qemu/qemu-print.h" -#include "exec/cpu_ldst.h" #include "exec/translator.h" #include "exec/helper-proto.h" diff --git a/target/ppc/translate.c b/target/ppc/translate.c index 74796ec7ba..49b6a757b7 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -27,7 +27,6 @@ #include "tcg/tcg-op-gvec.h" #include "qemu/host-utils.h" #include "qemu/main-loop.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" diff --git a/target/sh4/translate.c b/target/sh4/translate.c index 49c87d7a01..c1e590feb3 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -22,7 +22,6 @@ #include "disas/disas.h" #include "exec/exec-all.h" #include "tcg/tcg-op.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/translator.h" diff --git a/target/sparc/translate.c b/target/sparc/translate.c index fa80a91161..3bf0ab8135 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -25,7 +25,6 @@ #include "exec/helper-proto.h" #include "exec/exec-all.h" #include "tcg/tcg-op.h" -#include "exec/cpu_ldst.h" #include "exec/helper-gen.h"