From patchwork Mon Jun 26 09:36:56 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: 112815 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7355714vqr; Mon, 26 Jun 2023 02:37:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5i+fmm7sRdz0jGODJDKJbWujG/EjkfGp0RslCSZRoEIhAregiAH3WkZne90q5LgdxKSbWw X-Received: by 2002:a05:6402:404:b0:51b:fbf3:d9a7 with SMTP id q4-20020a056402040400b0051bfbf3d9a7mr5485831edv.39.1687772268296; Mon, 26 Jun 2023 02:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687772268; cv=none; d=google.com; s=arc-20160816; b=twtC8yQpPYr5Z3+iWyxT/sUfLDsuYeGYnbYrVWywC7QwtsBMk06iG2hZbgxDk3IGEu +FdK22hLi6yHYzUGvRg1fbMDwEcp3T/8GTkG1rzjbgTLzqI5b1fowROTiHi73RDAZbZc ADK7cfgCuDfW5HZ8w1p++womlj3g+AeoiUFNUdWKfHynvyU5YH2PgHSRZnntOrLBRZ4r V35S5lBcny7pa6J7M104LFTog+in9U7laZ4QP2YoUhbwTWtpVCbne7bhBIuzb9KyGx1p LaS34WMyW1GFeQfnoH4e0wq34Fnb3u7zFpHlgcOpnrJ9eyUkgWvcM2hwZIATQ18GdKXr tw6w== 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=oikFex0NMdP0GX98geDzk7momAZUQmI7L4FJn5Q9aBk=; fh=pkXPG0zZoOjKbXQnATK84Jhfe9+m7e3mrEEB76hUHx4=; b=vnD3pWxihQXCVvaIEPGVYMiKlqBrXpMrLdq9qiuhMRh0ZWqBvs1uGGb6oahyI3rG59 wwTCxEvcsJl2AKsAOntXsYTI85RifULesrtmCwcNBDwQkWqGXe+lJEh1q/7U5/jLayLF jI5MtvUwa6lEHSsMw4Tc9l4AVXjEEUHQIzG6msBWxb/StawU2uuwDECoZh5GBwpS1BFw W3YPpNKmrI8w65h2l355eTzMImeMcWHHTyzZDctSDJaAQ7MBGMPaqp24yCvWs+hxdwmb klQXDPwu3ttrhZBvEPEIyudMnnU2x1AS1kyjGRGKWj1lTrYT4Zv7odikRRYnxSlY5lRO r3Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=cak2AUfE; 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 sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id p25-20020a056402075900b005163c217906si2425958edy.333.2023.06.26.02.37.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 02:37:48 -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=cak2AUfE; 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 07F7C3858D1E for ; Mon, 26 Jun 2023 09:37:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 07F7C3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687772267; bh=oikFex0NMdP0GX98geDzk7momAZUQmI7L4FJn5Q9aBk=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=cak2AUfEEI2nY+6+gCyuaYEKfP3x/7b+JP8vItR+/gGEWqpBr34eBGqm6hyQx8l9/ QsY2dwcOAo0a6gWGH2bjiBJ8mZ1ju91Ytp4BV3dVzlmEPXz4yND05ldMbC8HSTZsVX 8VMYx+q7Laqj7b/WAObSt6ZF/p5ZJ3YGbdwUHyBk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by sourceware.org (Postfix) with ESMTPS id 9E67B3858D37 for ; Mon, 26 Jun 2023 09:37:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9E67B3858D37 X-IronPort-AV: E=McAfee;i="6600,9927,10752"; a="341563557" X-IronPort-AV: E=Sophos;i="6.01,159,1684825200"; d="scan'208";a="341563557" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jun 2023 02:37:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10752"; a="666237869" X-IronPort-AV: E=Sophos;i="6.01,159,1684825200"; d="scan'208";a="666237869" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by orsmga003.jf.intel.com with ESMTP; 26 Jun 2023 02:36:58 -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 0BF8910056EF; Mon, 26 Jun 2023 17:36:58 +0800 (CST) To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, rdapp.gcc@gmail.com, jeffreyalaw@gmail.com, pan2.li@intel.com, yanzhang.wang@intel.com, kito.cheng@gmail.com Subject: [PATCH v1] RISC-V: Remove duplicated extern function_base decl Date: Mon, 26 Jun 2023 17:36:56 +0800 Message-Id: <20230626093656.502976-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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769757494119840638?= X-GMAIL-MSGID: =?utf-8?q?1769757494119840638?= From: Pan Li Signed-off-by: Pan Li gcc/ChangeLog: * config/riscv/riscv-vector-builtins-bases.h: Remove duplicated decl. Signed-off-by: Pan Li Signed-off-by: Pan Li > --- gcc/config/riscv/riscv-vector-builtins-bases.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gcc/config/riscv/riscv-vector-builtins-bases.h b/gcc/config/riscv/riscv-vector-builtins-bases.h index 62ff38a2811..fb95d6afdf0 100644 --- a/gcc/config/riscv/riscv-vector-builtins-bases.h +++ b/gcc/config/riscv/riscv-vector-builtins-bases.h @@ -121,8 +121,6 @@ extern const function_base *const vsmul; extern const function_base *const vssra; extern const function_base *const vssrl; extern const function_base *const vnclip; -extern const function_base *const vnclip; -extern const function_base *const vnclipu; extern const function_base *const vnclipu; extern const function_base *const vmand; extern const function_base *const vmnand; @@ -144,8 +142,6 @@ extern const function_base *const vmsof; extern const function_base *const viota; extern const function_base *const vid; extern const function_base *const vfadd; -extern const function_base *const vfadd; -extern const function_base *const vfsub; extern const function_base *const vfsub; extern const function_base *const vfrsub; extern const function_base *const vfwadd; @@ -153,7 +149,6 @@ extern const function_base *const vfwsub; extern const function_base *const vfmul; extern const function_base *const vfmul; extern const function_base *const vfdiv; -extern const function_base *const vfdiv; extern const function_base *const vfrdiv; extern const function_base *const vfwmul; extern const function_base *const vfmacc;