From patchwork Sun Jan 10 04:10:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wataru Ashihara X-Patchwork-Id: 12008905 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5C58C433DB for ; Sun, 10 Jan 2021 04:12:56 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 29C9520773 for ; Sun, 10 Jan 2021 04:12:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 29C9520773 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=wataash.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:39974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyS62-0005Zo-Kz for qemu-devel@archiver.kernel.org; Sat, 09 Jan 2021 23:12:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyS4A-00050C-8C for qemu-devel@nongnu.org; Sat, 09 Jan 2021 23:10:58 -0500 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:36708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyS46-0002Df-WF for qemu-devel@nongnu.org; Sat, 09 Jan 2021 23:10:58 -0500 Received: by mail-pg1-x533.google.com with SMTP id c132so10361307pga.3 for ; Sat, 09 Jan 2021 20:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wataash-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5rIQNK3HO2rD9QhjzaGbn76ifLeP4TgjsM8bsIwurwg=; b=GGlu3xjTbFobAhG4GlHEXvVWH/exD9GRA1g2SvdasQVP0j9/J7AY+4X7sH37MeBkAn PzDlQnCUuqKatGrQVCpf9ZlT2Si0kn6D527qHGpdpbVTybJjX3lVcXClj+qElLL2+A0n TSysykT48FY01syu1iNfghfETY8JueXlVLALKo/e4w+sRT9wvmvtEXZJVRX7iDXHSPQ9 iDZ8GdEVNicIGNNwao+8oFpxbT4sf77R1jQefNhur1TKIXe1d7UnFXsHM7qenjZQaydR FTfcOUgKcv2qDcLWkiShWqHnxfQuWtxrthrbnckJVpuw54AKumA0t4N25NQ65UzwKLXP OD7w== 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:mime-version :content-transfer-encoding; bh=5rIQNK3HO2rD9QhjzaGbn76ifLeP4TgjsM8bsIwurwg=; b=nXaSVS8Y3yw9x/KKEMZQBaWQIQqg4ZniYOPQOgIeJc2ve6LhuRwFacePUQ+A1KtA1b JjHCiIj6D725xOLTPfPZsfAHLmcDJrU5qn9beTf3E0xuzUdn/bYf5VYBXKqFnm64uSZZ omCFd5wvtKnYbBsOZCkfsVn1p6bXHpxfYn8v2D3H1QTV7nnqI48mMygvgNpyMQbBDopf fIMLc21WshOlVkP396Pp5XA6gb8kVrMTrz3Dh1+QL4nL5dzdFmC2hNinY/pXcEWR1O0v KOyC9FWdrW6Ycq7x9de8iO2HE/2DfbfAtznAa5gK8+yrsWxz8yts2IUZC/6MmAHk/kVv mGgA== X-Gm-Message-State: AOAM532oNmKM4lsOF9Kr2fiPqX2XJ3tB0XE+BWtTvYEEvn6PKA3LkKtv jZf9LgsfgKkIJrd0phMqS86pi9y7VBe7hvJK X-Google-Smtp-Source: ABdhPJzlU58vK9t7iuvSk4xltICMnpYig/RqN4TCnIcSZYWxdJ4kicq/xRiughOUwLlB0zNbdZhM9Q== X-Received: by 2002:a63:5d10:: with SMTP id r16mr13992386pgb.406.1610251851941; Sat, 09 Jan 2021 20:10:51 -0800 (PST) Received: from wsh64.wl.iiji.jp ([2001:240:1bc:8005:d702:b3c:6709:2fcc]) by smtp.gmail.com with ESMTPSA id j3sm12929755pjs.50.2021.01.09.20.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Jan 2021 20:10:51 -0800 (PST) From: Wataru Ashihara To: qemu-devel@nongnu.org Subject: [PATCH] tcg: Remove unused tcg_out_dupi_vec() stub Date: Sun, 10 Jan 2021 13:10:39 +0900 Message-Id: <20210110041039.512225-1-wataash@wataash.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: none client-ip=2607:f8b0:4864:20::533; envelope-from=wataash@wataash.com; helo=mail-pg1-x533.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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: Richard Henderson , Wataru Ashihara Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This fixes the build with --enable-tcg-interpreter: clang -Ilibqemu-arm-softmmu.fa.p -I. -I.. -Itarget/arm -I../target/arm -I../dtc/libfdt -I../capstone/include/capstone -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -Werror -std=gnu99 -g -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition -Wno-tautological-type-limit-compare -fstack-protector-strong -isystem /home/wsh/qc/qemu/linux-headers -isystem linux-headers -iquote /home/wsh/qc/qemu/tcg/tci -iquote . -iquote /home/wsh/qc/qemu -iquote /home/wsh/qc/qemu/accel/tcg -iquote /home/wsh/qc/qemu/include -iquote /home/wsh/qc/qemu/disas/libvixl -pthread -fPIC -isystem../linux-headers -isystemlinux-headers -DNEED_CPU_H '-DCONFIG_TARGET="arm-softmmu-config-target.h"' '-DCONFIG_DEVICES="arm-softmmu-config-devices.h"' -MD -MQ libqemu-arm-softmmu.fa.p/tcg_tcg.c.o -MF libqemu-arm-softmmu.fa.p/tcg_tcg.c.o.d -o libqemu-arm-softmmu.fa.p/tcg_tcg.c.o -c ../tcg/tcg.c ../tcg/tcg.c:136:20: error: unused function 'tcg_out_dupi_vec' [-Werror,-Wunused-function] Signed-off-by: Wataru Ashihara --- tcg/tcg.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index 472bf1755b..32df149b12 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -117,8 +117,6 @@ static bool tcg_out_dup_vec(TCGContext *s, TCGType type, unsigned vece, TCGReg dst, TCGReg src); static bool tcg_out_dupm_vec(TCGContext *s, TCGType type, unsigned vece, TCGReg dst, TCGReg base, intptr_t offset); -static void tcg_out_dupi_vec(TCGContext *s, TCGType type, - TCGReg dst, tcg_target_long arg); static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, unsigned vecl, unsigned vece, const TCGArg *args, const int *const_args); @@ -133,11 +131,6 @@ static inline bool tcg_out_dupm_vec(TCGContext *s, TCGType type, unsigned vece, { g_assert_not_reached(); } -static inline void tcg_out_dupi_vec(TCGContext *s, TCGType type, - TCGReg dst, tcg_target_long arg) -{ - g_assert_not_reached(); -} static inline void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, unsigned vecl, unsigned vece, const TCGArg *args, const int *const_args)