From patchwork Thu Mar 11 14:39:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 397504 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp384134jai; Thu, 11 Mar 2021 06:57:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxguIjxHXnO3pEtGWx731U5BBV/puZ05SkMlGtE6tD51JTQ44YY2Vw0QjjlnrHbrnQ11N8e X-Received: by 2002:aca:578b:: with SMTP id l133mr6651556oib.96.1615474620596; Thu, 11 Mar 2021 06:57:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615474620; cv=none; d=google.com; s=arc-20160816; b=ygylbPGY2K+SL9E1cfD5/dYs9k8neAFAuo/kwMUl4bqFnLt7PjML+be99jUduK9m40 EqUJVPst+CUStSEMLeD32h0emwRqkJyp3k/lP+btTRz22azJq+MaeHkvlyw/KOahfBC6 +PtV4Wk2SP6Kcohp/a5Yw6p2Liy9M6pRMpy4QxWMvJ1IV13oATAY8UTGOv1URIea+t6y dpqihBVA+AmAiU47yZ9B9eg4yqejJVMLB4hq9vdwRejdgXzpRdCU2aC8N/TXNRYDkEv0 +HDVVTDei63eRnyTjLZBBlGn2602W3OWqDGyGNvo3yOoSoHPthQ1GPGqUmZiAUVpp4ZD JYXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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=7AU7AuzkprD1DzoX758oP/Mpq/Dm/wXzaoKexxvkWBk=; b=Bq9HN95vBh63yTHbGj+npRWgtnBPFi0RAN1Ufb8KGRPpKmOvxTDfxAHMztC9NdDIAL EB/PCMt/lziieNrq3MW00tmzPamt1HRcUiFTl30yrzuqvsFWz/6attz43jdnDFdrlXVC 9MsADrof4rsegcH9X9SFKbXnMAlqpAkZdkuuuCP0qn/h/t1EgWTsnOGlTIb+y0H7+U4T lmhki5sFibC8Gwf7bMhLePov1AbLVjLIYoiOx7Yzk0qV0NONydVO7lohKmMNz8IQoxNe 9QDMqIC9/Mfz6YC6chjZl9eMaAP+6nYMGHtiVkvE1jnKMG2vs+v1+qiK5JvpEmVYUa7p LHnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=taIYp6GI; 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=fail (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 g7si2665719otq.192.2021.03.11.06.57.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Mar 2021 06:57:00 -0800 (PST) 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=fail header.i=@linaro.org header.s=google header.b=taIYp6GI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKMkG-00018A-1k for patch@linaro.org; Thu, 11 Mar 2021 09:57:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKMUG-0003Tm-4T for qemu-devel@nongnu.org; Thu, 11 Mar 2021 09:40:28 -0500 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]:39898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKMUE-0006Rj-G0 for qemu-devel@nongnu.org; Thu, 11 Mar 2021 09:40:27 -0500 Received: by mail-qv1-xf2f.google.com with SMTP id h13so2639416qvu.6 for ; Thu, 11 Mar 2021 06:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7AU7AuzkprD1DzoX758oP/Mpq/Dm/wXzaoKexxvkWBk=; b=taIYp6GIXruXuOpTyExN9I1E8oiXiNbd84BuAjb0FjXOEfOvweHULJEliy2i8YQKNI EBHe4ClPfcgdTzE6h/VrAmhme9vcaSqR3z+QWYuw8AEDh/sqOgPaFBqfaFM5B1zA50kc PkRi/uk1Wq4qdszcQYHBVpX82XpnrVuqVlaaQMHCAd4c7/UToKsj317BCCoJMXlhY2P2 /To33MGq6uL0kNgx8YBxqXMXLNcYJJTQ3m+wREAFBAd4fyE2kiKxbG5GUWW0/q8AHe88 wmWP5ClpEVbLW2OhkUR5Gmo/RYh74vFbsbKTu9pI0Mm1FNINKWgtN2ip4cxPA8eBeucL aR/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7AU7AuzkprD1DzoX758oP/Mpq/Dm/wXzaoKexxvkWBk=; b=IF478/8xGA7KPZqftMjH/YuUhrE1qLleDYPBThk3Ec+lSwlhGIGQWXD/ZQl2Lnr3nf S2ypWVJrd67fST4C/YostliZkQWh7T0QDbGx668grVgEJZnxz3NHWLz1xrDr4GFo/0Nw SifZdZ5+Sl1cDwv+SY4uCy6qnQQnNE2zdtuSqpKdGKY9+IchdNd4fku58snYv9gMz+7v BZoBQUVPZ9+h2lpHe6iKFFQsJU7GFgbBAfz4qedWAdwtlW9hT6XfEj9PhwI6h13gH0yJ Q/KOZDv/NrB2YwHzhsb5ls522CH5cH26O8L9ukBgNinGn3YdNe/1r+2SJJYjQ7hxh5WR kLGQ== X-Gm-Message-State: AOAM530KzeigyzUcLSEhkibWzRbJgNWxbpdRLEtCLcaHvrCNprwwm502 BLa2nUpUT4skzrxJaxBCyLz/KMl0kkgL2Bm2 X-Received: by 2002:a05:6214:c27:: with SMTP id a7mr7756881qvd.54.1615473625345; Thu, 11 Mar 2021 06:40:25 -0800 (PST) Received: from localhost.localdomain (fixed-187-189-51-144.totalplay.net. [187.189.51.144]) by smtp.gmail.com with ESMTPSA id d84sm2070324qke.53.2021.03.11.06.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Mar 2021 06:40:25 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v5 20/57] tcg/tci: Remove tci_disas Date: Thu, 11 Mar 2021 08:39:21 -0600 Message-Id: <20210311143958.562625-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210311143958.562625-1-richard.henderson@linaro.org> References: <20210311143958.562625-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::f2f; envelope-from=richard.henderson@linaro.org; helo=mail-qv1-xf2f.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, FUZZY_BITCOIN=0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sw@weilnetz.de, alex.bennee@linaro.org, f4bug@amsat.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This function is unused. It's not even the disassembler, which is print_insn_tci, located in disas/tci.c. Signed-off-by: Richard Henderson --- tcg/tci/tcg-target.h | 2 -- tcg/tci/tcg-target.c.inc | 10 ---------- 2 files changed, 12 deletions(-) -- 2.25.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index 9285c930a2..52af6d8bc5 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -163,8 +163,6 @@ typedef enum { #define TCG_TARGET_CALL_STACK_OFFSET 0 #define TCG_TARGET_STACK_ALIGN 16 -void tci_disas(uint8_t opc); - #define HAVE_TCG_QEMU_TB_EXEC /* We could notice __i386__ or __s390x__ and reduce the barriers depending diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc index 6c187a25cc..7fb3b04eaf 100644 --- a/tcg/tci/tcg-target.c.inc +++ b/tcg/tci/tcg-target.c.inc @@ -253,16 +253,6 @@ static bool patch_reloc(tcg_insn_unit *code_ptr, int type, return true; } -#if defined(CONFIG_DEBUG_TCG_INTERPRETER) -/* Show current bytecode. Used by tcg interpreter. */ -void tci_disas(uint8_t opc) -{ - const TCGOpDef *def = &tcg_op_defs[opc]; - fprintf(stderr, "TCG %s %u, %u, %u\n", - def->name, def->nb_oargs, def->nb_iargs, def->nb_cargs); -} -#endif - /* Write value (native size). */ static void tcg_out_i(TCGContext *s, tcg_target_ulong v) {