From patchwork Mon Feb 8 02:37:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 378458 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp4320491jah; Sun, 7 Feb 2021 19:06:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfcj1SYMTlNBu/gNPtOx2guX7lk+vK3qFnI/zmU3rZqQAwqc8wNkSE7FykO5AyITHKysCF X-Received: by 2002:a25:3bc4:: with SMTP id i187mr22183224yba.146.1612753591590; Sun, 07 Feb 2021 19:06:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612753591; cv=none; d=google.com; s=arc-20160816; b=z+aCmfiKCHlrqeMthU7bpuoguhrEr/A8NTBSmEtQebUmFRt2wiaY/RKDVFI2S6Rg3f nv4Er/+2+NYy3crnzrgL1TWIsG2mVEVcyyrjkoc5yqCuwxOLkyc5f91BFYJBcVwYdDZ4 BywB4HZ0nA95qeoDsP+43jX0bka2j1vR6FFIbB5VW6tU3IRRbauQM5YDWm9AaN0u37AR whhNkxFyRIMsr0je6zHRNluq1wQ98LQDDoq6VpcTIn3s/GPUPClf8FxQ8CqrD0Yf9etX iVR2KibNTvsfMEbhQimSc1DbQFhwOhfza38iTjt0Sg7h7LPucp3HZGvuhN5l2qsxQU3J BMTQ== 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=nK6ttJQIuQj7t2xgyyzQvKoHrLqx1gKhp25gGzGC4vmdFEd7I+kTvLWc9jZQBekffy YFJbv6pJQs4sR2+P0XclcNtjHQwHqqko6cwnZYohyAgyeU7fX/X4D7dtiDsbAWlFqYse 3cJ2Zy7aA9/rscOsPOn+x6lcZDpAcMUWX2Nzq/YEzzN3gnFbEAiykmSG6jNuV9Q3J+ev cu8sxSv/y/6Ngvzk10e7k9r6BiURc7P1wf04bCaqWPWLAJkgmTWW5E+Ip1MmeFFjL3+q FdlXa+qyRPnH/HkAiZdNJZu0QAvgzbj37xPVYyTGzw8lCrhAOhdcYvZTGhwgssY/4T/9 hH3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uMn0beYe; 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 w7si16764248ybw.316.2021.02.07.19.06.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Feb 2021 19:06:31 -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=pass header.i=@linaro.org header.s=google header.b=uMn0beYe; 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]:40098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8wsh-0006tb-2V for patch@linaro.org; Sun, 07 Feb 2021 22:06:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8wRp-0001lb-Ry for qemu-devel@nongnu.org; Sun, 07 Feb 2021 21:38:45 -0500 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:35303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8wRj-0005sw-K9 for qemu-devel@nongnu.org; Sun, 07 Feb 2021 21:38:45 -0500 Received: by mail-pg1-x52e.google.com with SMTP id t25so9272278pga.2 for ; Sun, 07 Feb 2021 18:38:38 -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=uMn0beYeaB+5lQdHNlFqUIk37mVB0MKh01C34RfNp8vdNo8pAFzbd6zLDL2Tj5sM/Q YSLa4iWE1pIYtYn0I8XmjP6Av1o/smEU6LyfdvOW+Xm0kTc0k+6Pujp4euif9TCNeIC8 QLdpOIV9b3+IrVKFGIB6GdUnTqQvqHU7tMtDLh1sq0TFM6aJDXfIdbLf9QJV8GR30vGM Bz3hN8pdNSaWbRrHD8beMOfwViz88xX90ldtJR6gkBEPI0DnxrASsYl4TullTxkTwV94 l+hAy5o2rv1Ii9BAsATVeRJPg8e2r8SZ/w7xZ22DxTo2AxxV7omg0ziIT89B4o0vWjNH 09jw== 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=FOWMXhOsOJl408/g5TUFLDpC+xMBl9RseWYNcW4QtlLb8atyOwuJnumbgdW9j1vRAY cLi1IPSxez+XY7/D1DvjidnuwnHtTsmonqqaf+CxBeyEDLrXiU3esY6kG0pWqo40Rrr/ wWQKYvAxgrUyt3ChzAEiybvh7AvAJvbfWRDTkZ7qg3/serLEQ7Y88ATLKTQKC36LADmT Au3IYEuLAVDM2dWD9ZQXwvIXwA+4E3gf7DKw+xDKYO9M17DhumrikhZ70/wRseov+5u6 Nbm5apZ0l1Jtr+LVlCca1C6N6Eri/sDVV1Jna0RRfgjuUiq1yzSN1JcEP3eFbnasF6td kHig== X-Gm-Message-State: AOAM532JHSTH7Y8Nn4lVJiJq2Uu9FiMvfQkRPvtUiPkYChkAK5/96IsN p/Z6pfjE0CtSWywYYBodmAFb4MSdmWrbmQ== X-Received: by 2002:a63:884a:: with SMTP id l71mr14735259pgd.75.1612751917403; Sun, 07 Feb 2021 18:38:37 -0800 (PST) Received: from localhost.localdomain (174-21-150-71.tukw.qwest.net. [174.21.150.71]) by smtp.gmail.com with ESMTPSA id j17sm16158689pfh.183.2021.02.07.18.38.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Feb 2021 18:38:36 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 35/70] tcg/tci: Remove tci_disas Date: Sun, 7 Feb 2021 18:37:17 -0800 Message-Id: <20210208023752.270606-36-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210208023752.270606-1-richard.henderson@linaro.org> References: <20210208023752.270606-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52e.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sw@weilnetz.de 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 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) {