From patchwork Thu Aug 3 02:10:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2 via Gcc-patches" X-Patchwork-Id: 130245 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp856000vqx; Wed, 2 Aug 2023 19:11:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlGrFnmksZmqyq4hju/v5F9U1jXMEDSVqPy488Hvyo0lBBI5qGc/1p8B96GB///FukJk+eNw X-Received: by 2002:a2e:94d0:0:b0:2b9:54e1:6711 with SMTP id r16-20020a2e94d0000000b002b954e16711mr6317819ljh.7.1691028718480; Wed, 02 Aug 2023 19:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691028718; cv=none; d=google.com; s=arc-20160816; b=fo+MKuKgYDzSEWXR1TiAu9jyv9e/yAS9eCV4mVy4PD0EHHVJDW3TTYNPzuuuw47Qc9 1x/Wv4wbH7kJpZhb/jDg/Y5xnEG/tIHAk6oWwErum6+kku/NM19CHMRbFwryPjxy0xOH UWEqB2To6Eu+aacCIy+1nLiFR+A814QY1w+Ky7/98zs0VelOfhvsZEe4BO749lEyR5+q RPJxPtGyxQoAKTuk3uWsAz8QuIruJefAXttRLcIlioLdFZSUSErRHzzrFz1sgBXSlaq3 i/QmcuKn6toHC3xfZunkh012GWv6TsCo5LcT/N0ZKwONrw3Bia5igDPYrp3Y3UGNg4Xe Zt6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=UYPIWeu8D02moHNrtrjOYbIQwzD3J3BzkFiUUxYn6vY=; fh=/JJEj+I5j40/Spkll6HT+Gte92Mjc5mpTnWowlKfaJ8=; b=u2CAoYGGGmTiVs1pOcGHd0hmiu1ESw2gm1CXsL4PaumRJaPaTikIB700AmdQUfVLGs 09WWzXWdmS3+YBq0q6hBCV+iU720zYyBzU8jXEiF6kwUkjUgn9hqeTTezkR5bpwOYQYU gknml9VtyCdBSczj93Oo8/tB9Uy8BsLmdJ7QUL3qfGR0exG6u25CtMv3d16yloNs89p0 p323eRHvTpQ5fUu25T1790FILGY18yK2J8Od+zOSVhItTveDPrht8Dizbg/rdJd8WP6v fQHnVK5JHlRsMvPNbk5GF5xZeuS8rflRxZjzt1GfdXqosd08xysThQSZF3obfgBce9pD jUNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=yUueETa9; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id l21-20020a1709061c5500b009929ca58b4fsi7789503ejg.62.2023.08.02.19.11.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 19:11:58 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=yUueETa9; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 23E84385840A for ; Thu, 3 Aug 2023 02:11:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 23E84385840A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691028717; bh=UYPIWeu8D02moHNrtrjOYbIQwzD3J3BzkFiUUxYn6vY=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=yUueETa9Wok1ESE6kq2tg9KQhQBCFCPioNZdAUUZjkfRp23bPehXrbO82ZFMaaszK zogC7hrxV2/kTrEcqUAIr3mcH3KHyV9zVHTn5+s6V1FbPmG6VXSpT5wpBwNnVcO/Bg pn2DE9tKqjSszO2WYTtq20iQCmo+nUVtGjNfRF9g= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (unknown [192.55.52.120]) by sourceware.org (Postfix) with ESMTPS id EA8003858D1E for ; Thu, 3 Aug 2023 02:11:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EA8003858D1E X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="368648935" X-IronPort-AV: E=Sophos;i="6.01,250,1684825200"; d="scan'208";a="368648935" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 19:11:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="679310417" X-IronPort-AV: E=Sophos;i="6.01,250,1684825200"; d="scan'208";a="679310417" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by orsmga003.jf.intel.com with ESMTP; 02 Aug 2023 19:11:08 -0700 Received: from pli-ubuntu.sh.intel.com (pli-ubuntu.sh.intel.com [10.239.159.47]) by shvmail03.sh.intel.com (Postfix) with ESMTP id C3BC7100516B; Thu, 3 Aug 2023 10:11:07 +0800 (CST) To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, kito.cheng@sifive.com, pan2.li@intel.com, yanzhang.wang@intel.com Subject: [PATCH v1] RISC-V: Remove redudant extern declaration in function base Date: Thu, 3 Aug 2023 10:10:59 +0800 Message-Id: <20230803021059.516819-1-pan2.li@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Pan Li via Gcc-patches From: "Li, Pan2 via Gcc-patches" Reply-To: pan2.li@intel.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773172129388669651 X-GMAIL-MSGID: 1773172129388669651 From: Pan Li This patch would like to remove the redudant declaration. Signed-off-by: Pan Li gcc/ChangeLog: * config/riscv/riscv-vector-builtins-bases.h: Remove redudant declaration. Signed-off-by: Pan Li > --- gcc/config/riscv/riscv-vector-builtins-bases.h | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/config/riscv/riscv-vector-builtins-bases.h b/gcc/config/riscv/riscv-vector-builtins-bases.h index 5800fca0169..f40b022239d 100644 --- a/gcc/config/riscv/riscv-vector-builtins-bases.h +++ b/gcc/config/riscv/riscv-vector-builtins-bases.h @@ -152,7 +152,6 @@ extern const function_base *const vfwadd_frm; extern const function_base *const vfwsub; extern const function_base *const vfwsub_frm; extern const function_base *const vfmul; -extern const function_base *const vfmul; extern const function_base *const vfdiv; extern const function_base *const vfrdiv; extern const function_base *const vfwmul;