From patchwork Wed May 31 04:02:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 687238 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp1062025wru; Tue, 30 May 2023 21:07:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7dcbxGkjidP2ToYF0u+dlpAJm6215NHPogSWHHi04jJv2AJa0CHOt/uj2T+2ssD0rdxi5c X-Received: by 2002:a05:622a:609:b0:3f6:a741:192b with SMTP id z9-20020a05622a060900b003f6a741192bmr4669351qta.68.1685506032670; Tue, 30 May 2023 21:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685506032; cv=none; d=google.com; s=arc-20160816; b=IBmsmh6iLZbiM6AeVUkAJjgRCgaFI+0OjdJSJmnME3K/WrLEQvDLR+GLG7zQw8QSyN aG2YjbuUkZ8YmmoMFaBwp+My2Ysdek5HJJki+PDZsRS+GFBHxJVrvFKMcZa3xxy7a7UM kF7WLCuL37+iOzyJvfy1weTPynbbDvjurY20ulpybLC8AKoE2gB57M/hT97S2vXiM2w1 TJ5GtZKJ/v02bLUfmSD5YkDmbMm8AYtZKCDDvP4hZkRryEmw3ZEs2/ElqTLSLSdlKSvN paRScNabKIL1oKhyVb1K/X4yOCrNjzQ8BRxb9QuvYnxmm4Aqe7NyIGx4A4D6K3ENw+Ku wbKw== 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:to:from :dkim-signature; bh=vXtsvQPHD82vPJkKb5usIRvin0ENTfAKq8eNntz5348=; b=XGvEkfONCBUVz17a59H37Wl61OZV+hVcSwbPPuClDcGFZe5b2ijIvTgop/OtJKM5AM ZqZPmWKcTxdokEM+O9R4EAlyd8ObU3JfDbuwC8ozavCNW2ow6XCehBHgzgOpbX+DK15/ rfhbj/hh5uT5GcHHcLg0lRQ4l6+WLtWNqACdbleN3QaH5Owxfml5nNi/MyccASwdIcb1 2uNpYdeJy5Ywx26/JtMNaIH5ZyTeyDZyaFLHg+ZwZqdBWvo7qJIi/2EWUr6KQmIVwmiJ BQHVc8hpY8ozaLloGNhvzQUwilw7Y2yJjDwqJ7ziLUhO4u8c9YlO/P9OaDXPC7aWSi1n 0ylQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ozJ46E/R"; 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 d10-20020a05622a05ca00b003e8664ab2c4si7153310qtb.546.2023.05.30.21.07.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 May 2023 21:07:12 -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="ozJ46E/R"; 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 1q4D3w-00078f-Rq; Wed, 31 May 2023 00:03:52 -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 1q4D3r-00074v-Ua for qemu-devel@nongnu.org; Wed, 31 May 2023 00:03:47 -0400 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q4D3p-0006Bq-VM for qemu-devel@nongnu.org; Wed, 31 May 2023 00:03:47 -0400 Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-39a505b901dso125229b6e.0 for ; Tue, 30 May 2023 21:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685505824; x=1688097824; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=vXtsvQPHD82vPJkKb5usIRvin0ENTfAKq8eNntz5348=; b=ozJ46E/Rcq3NgAPDlwjhvrTDmOe58fRIagsNo1Bs6NLEZE1HmaXO/j3lt2O9ORXh4w l+P5kRTZYy4ZXuoNg8KMRxoKTbUXSFFt1msVOOIKaS3sCLQddOmL2SPQnf9Cg2Ha9PZO YgSPr7/4kC69qrL4rUf2r+4wh74uqBqYAJmwTJ4E5cQejbN4d8hMlEfWbi6APy39Y1oi y0yoyuJbjm4IwZEoshvNdM5iNRcp3DdgcmELbOgLVHmzX8BK0P3AMaI9PACRXPb1Vztk aVdtv6YUkYHXE9I63jcjcSVmqjiXaBJoX8SnHHwLIElOLzKHMOFuXyDoAEXg3DwZFQmx si7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685505824; x=1688097824; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vXtsvQPHD82vPJkKb5usIRvin0ENTfAKq8eNntz5348=; b=HoQ19nsqlVIjavA1inuggUgc68nSI2sv8ES+dX9rbIl1UHhyLJZ50bChDsUHH+M+cy GjFy4h4ziFywYs6syOJ56jFlh9y2F6CsO5XVpSCG//amfUOko0HfXLhm93o8E5uYNC5Y mZW2RVscpp4Wuuud+NzX/n/F8wCXbfNtWz7+lxX5m8T4n1SR3ujDVkYniSztrNB2EKXs 6xmM6jMARhWc9rRO7ZSxgnnWxOQtYsqLmm0rKg9ab7NgKdkm/Sy0RtGofhSAVM6kfIyv xgzITh/c8o4uifBgPeuJQb0eabRgq+nDrtQGON+VRCKuMM11FJxZ7OLVvzUwCH4J2ZpY lbfQ== X-Gm-Message-State: AC+VfDzuX7moNZkJV1531KTfHb7gX7hFI4lyKx1xA6YoSWKVZg32goUa 5Pc6GYg9WEMvbr54ayxtWRf3DFDUYdbhkUjMhVI= X-Received: by 2002:a05:6808:1449:b0:398:58f5:7209 with SMTP id x9-20020a056808144900b0039858f57209mr3495317oiv.49.1685505824671; Tue, 30 May 2023 21:03:44 -0700 (PDT) Received: from stoup.. ([2602:ae:1598:4c01:1cd:ec7a:a720:ce9a]) by smtp.gmail.com with ESMTPSA id j12-20020a63fc0c000000b005348af1b84csm194814pgi.74.2023.05.30.21.03.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 21:03:44 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 17/48] target/hexagon: Include helper-gen.h where needed Date: Tue, 30 May 2023 21:02:59 -0700 Message-Id: <20230531040330.8950-18-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230531040330.8950-1-richard.henderson@linaro.org> References: <20230531040330.8950-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::22e; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x22e.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=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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This had been included via tcg-op-common.h via tcg-op.h, but that is going away. In idef-parser.y, shuffle some tcg related includes into a more logical order. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- target/hexagon/genptr.c | 1 + target/hexagon/translate.c | 1 + target/hexagon/idef-parser/idef-parser.y | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/target/hexagon/genptr.c b/target/hexagon/genptr.c index bcb287dd8b..217bc7bb5a 100644 --- a/target/hexagon/genptr.c +++ b/target/hexagon/genptr.c @@ -20,6 +20,7 @@ #include "internal.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" +#include "exec/helper-gen.h" #include "insn.h" #include "opcodes.h" #include "translate.h" diff --git a/target/hexagon/translate.c b/target/hexagon/translate.c index 8838ab2364..42a7697fc9 100644 --- a/target/hexagon/translate.c +++ b/target/hexagon/translate.c @@ -20,6 +20,7 @@ #include "cpu.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" +#include "exec/helper-gen.h" #include "exec/cpu_ldst.h" #include "exec/log.h" #include "internal.h" diff --git a/target/hexagon/idef-parser/idef-parser.y b/target/hexagon/idef-parser/idef-parser.y index 5c983954ed..cd2612eb8c 100644 --- a/target/hexagon/idef-parser/idef-parser.y +++ b/target/hexagon/idef-parser/idef-parser.y @@ -843,13 +843,14 @@ int main(int argc, char **argv) fputs("#include \"qemu/log.h\"\n", output_file); fputs("#include \"cpu.h\"\n", output_file); fputs("#include \"internal.h\"\n", output_file); + fputs("#include \"tcg/tcg.h\"\n", output_file); fputs("#include \"tcg/tcg-op.h\"\n", output_file); + fputs("#include \"exec/helper-gen.h\"\n", output_file); fputs("#include \"insn.h\"\n", output_file); fputs("#include \"opcodes.h\"\n", output_file); fputs("#include \"translate.h\"\n", output_file); fputs("#define QEMU_GENERATE\n", output_file); fputs("#include \"genptr.h\"\n", output_file); - fputs("#include \"tcg/tcg.h\"\n", output_file); fputs("#include \"macros.h\"\n", output_file); fprintf(output_file, "#include \"%s\"\n", argv[ARG_INDEX_EMITTER_H]);