From patchwork Sun Oct 29 21:08:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 739074 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp846249wrt; Sun, 29 Oct 2023 14:10:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1EyGqaIRcNjto9vIBoQwKPX+PQV3CczsG88LAp4V10yf8eMXtPc12ZPpSxFeDXVBV2IhT X-Received: by 2002:a05:620a:bcc:b0:778:af22:a93d with SMTP id s12-20020a05620a0bcc00b00778af22a93dmr7699843qki.8.1698613830232; Sun, 29 Oct 2023 14:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698613830; cv=none; d=google.com; s=arc-20160816; b=RbenPWgUyaheDX1m9XwMIK/A2ZWkEEyfUTdeWhmI1xppQ3KqKJB71OVg2NCzqYMYLM QpdB+BMWC9rkOeal0NgOfAFvlIC8wKbLK094+yJi1Wyg+5ZHqxxxBRdEAx7SmQTqz62f KmeXeghisrejpghMcVGxii1bcizGzOVBypOhmdjzcqIIAqypwnzCBEpnAqBKE6hJDsGp 6oNg/HIQWs8uBqMIR7OVF1ISkAfANxNyKFQtk64/7Y62HPeOpIe2Z1HFACPQTT7cAVfZ 4D6LjgYoHCtLEkJNu4Hf9ejAD+hNZwMEcEhmeP3OifMVoUuQx4Zu6RfpIPjP3lASAzs5 EHtA== 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=+92qzklDkxM/mQvVxc+9L7ck8zPyj/vu6S7Sqi5MgDs=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=rzebVAtsd235D3LiLUPBdClTq4RROYhv8+qzZPPP4BFliH1EZhV6LOa3o+5QnjBdfk fWFiAmafYb5avMBtIFw70sayN/ySmHGqu84m5rU5m11CgeZLQULAt41NLV30jEIpfbRG xt8zW2ICszDHoCsEv4PYPG6YZyBd10tCxk7lhQd6FLgJ9tWtpDD+BEU0hlOB+vBWf6WE s/1gsD6n8NeAMgpNWvCNtSdrV+tCI8vjDdgADwOSdrZ7dGAEZ44mCsxNd2HTDdxFxSEP XqWiLVouy9dJsstHbeLjs6QFlWSonYdLlHm9g/G17v7xMBFhZmFQuP481+TlNEXoHux2 NvwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B6UEEvX6; 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 d15-20020a05620a166f00b00778a570841fsi4191955qko.717.2023.10.29.14.10.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Oct 2023 14:10:30 -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=B6UEEvX6; 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 1qxD1t-0002i6-TS; Sun, 29 Oct 2023 17:09:05 -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 1qxD1q-0002gW-KU for qemu-devel@nongnu.org; Sun, 29 Oct 2023 17:09:02 -0400 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxD1m-0005Ek-Eb for qemu-devel@nongnu.org; Sun, 29 Oct 2023 17:09:02 -0400 Received: by mail-il1-x12f.google.com with SMTP id e9e14a558f8ab-357a69dde08so14165405ab.1 for ; Sun, 29 Oct 2023 14:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698613736; x=1699218536; darn=nongnu.org; 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=+92qzklDkxM/mQvVxc+9L7ck8zPyj/vu6S7Sqi5MgDs=; b=B6UEEvX6R68JXqNbPB03Mev/H9Z9uIVFs6iCsgTTmmOz9vpJ3E6PQBPD9CDPxikI+v 9Ro46AvDpjUhPiwim2dOeq7pVtZlvGw+JotpaovXArsPiDTPDMNiUVQk1JcnF7+CZgqO rqByaN0ZbyWMQeEvCGrO4wtfCVg0EeqplsedtqPkbvSdgHD1P/r30qwLVBzL8666pnlY js1ZslMv5C8CElX9vmruaMFMQJIOXZc8kzhkUhXor7xHrOqmZoNrCIufw6eDMUyliIsa Mhc6O5FRhfvu5U7h22fp4kT7fHfXRSPeEIjmnnrCnl1YWpmwrQW5oAxr2p2zXuv4ssO8 2fgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698613736; x=1699218536; 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=+92qzklDkxM/mQvVxc+9L7ck8zPyj/vu6S7Sqi5MgDs=; b=PRUMbhsqSZ6ohJHzvxV0+ttGKlQ4Bl1+x0iIpe0HL19AhtOkig56P43IIbt4n3CgNE yX8T14z5GUOAl9zU7c+0wzFtVZzpD2gTsFrDtz9Hfp/84c4JkaWYk3TmEvPgbcmp+E+Z KM7iH2tMkwOUIBYWxqFmjL+Bmvwpig3gkk+m2z16E/+jqx/R1br9zUtHtAhVAOEZWzeO vtRE27Iu/2qA1XPOuZORVGE3+v9GqkgyAoKgvw1YzhFBcQ0QiJ1wQ4+RBuMNwhEfCBaa +miK2VOLx5b76I+/SqZRw/asAO8hOp2gLjXQ8hIzgRThOdTTc0GuoVmDmbQAu1m5iTL4 9WTQ== X-Gm-Message-State: AOJu0YzFnEv7NqcO0s6Ru5dOZWY/IveV3FtDbq5S1PwQMIospSd2KXq/ MLtre1SxK2VgekjnO6xMutqBrIOnJcGj95GWvAA= X-Received: by 2002:a05:6e02:1705:b0:358:141:857f with SMTP id u5-20020a056e02170500b003580141857fmr13665920ill.11.1698613736689; Sun, 29 Oct 2023 14:08:56 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id z11-20020aa785cb000000b006c0685422e0sm4622847pfn.214.2023.10.29.14.08.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 14:08:56 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 07/11] tcg: Move tcg_gen_opN declarations to tcg-internal.h Date: Sun, 29 Oct 2023 14:08:44 -0700 Message-Id: <20231029210848.78234-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231029210848.78234-1-richard.henderson@linaro.org> References: <20231029210848.78234-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::12f; envelope-from=richard.henderson@linaro.org; helo=mail-il1-x12f.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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org These are used within tcg-op.c and tcg-op-ldst.c. There are no uses outside tcg/. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- include/tcg/tcg-op-common.h | 7 ------- tcg/tcg-internal.h | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/tcg/tcg-op-common.h b/include/tcg/tcg-op-common.h index 3f8b214376..b922545118 100644 --- a/include/tcg/tcg-op-common.h +++ b/include/tcg/tcg-op-common.h @@ -14,13 +14,6 @@ /* Basic output routines. Not for general consumption. */ -void tcg_gen_op1(TCGOpcode, TCGArg); -void tcg_gen_op2(TCGOpcode, TCGArg, TCGArg); -void tcg_gen_op3(TCGOpcode, TCGArg, TCGArg, TCGArg); -void tcg_gen_op4(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg); -void tcg_gen_op5(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg); -void tcg_gen_op6(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg); - void tcg_gen_op1_i32(TCGOpcode, TCGv_i32); void tcg_gen_op1_i64(TCGOpcode, TCGv_i64); void tcg_gen_op1i(TCGOpcode, TCGArg); diff --git a/tcg/tcg-internal.h b/tcg/tcg-internal.h index f18d282abb..c9ac34fc3d 100644 --- a/tcg/tcg-internal.h +++ b/tcg/tcg-internal.h @@ -83,6 +83,13 @@ static inline TCGv_i64 TCGV128_HIGH(TCGv_i128 t) bool tcg_target_has_memory_bswap(MemOp memop); +void tcg_gen_op1(TCGOpcode, TCGArg); +void tcg_gen_op2(TCGOpcode, TCGArg, TCGArg); +void tcg_gen_op3(TCGOpcode, TCGArg, TCGArg, TCGArg); +void tcg_gen_op4(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg); +void tcg_gen_op5(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg); +void tcg_gen_op6(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg); + void vec_gen_2(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg); void vec_gen_3(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg); void vec_gen_4(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg, TCGArg);