Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1124855ybt; Wed, 8 Jul 2020 22:20:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVLGKUCsA7oIlqZ6UdTo2BuLpnGdlxLeVXDp91fw5oeM+8DkXiM6I8jgZbq99VlTCp4W7L X-Received: by 2002:a17:906:40d6:: with SMTP id a22mr56830701ejk.133.1594272025792; Wed, 08 Jul 2020 22:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594272025; cv=none; d=google.com; s=arc-20160816; b=dtncgEcxzuYuJmA81pIn0jl2b8DMRnuh0dSrz1C5uTPew+iLHv7v8atGcLv0TUlHtn 0PLKnqLiUaB7fdM5bL1nuThX4hSTSL/BenAwcTDE4s2Z43o67oYzmG4cvK2atMJJT3k1 1Fo2FWM23x50hQJj65wT+/sE8/PWF3xAKkEzWrp4csK0ySxcFK9s7FEfX1bdAQCEkyBH wur+Jrd4HwXcy+VQwoobdXJ19N9rHtMIKw0b8rp+MX6vsF5NNMLg15KEHWRUon4KaAsF bPn2cpuQBtjXAVXdW/NZOtul2wVX7HAeB036TJbHgBuAScP5WcmP34fcy1KKeSXXXbT4 Domw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nPiVJTgfAEZ0dYnJLKx/jA1uXrzfJKfOTDSFnnEKiEc=; b=S2EDH1JhoQWUZbFYeafa2bP2qakWxp1UdcNeqYpSW+fB6oxBKj5WwRRrsFR0GrhizG AWNiieBav3YG4BxNp2QSpWZLmKzoHk2TvRGHQpR2Yag+YV9z73QXVxw17iisklgyVGhj J/20d9xi4p6nGp+OzsN+4LqKW1D+zIBsWKP+g2oSZC/TDQUXMly+HGHdNQeAF49eFuL4 1tC1cP56oMEBc8MEu7WHpoa0AJMC8E6skyqPG1ldJAnmmbMNQYtQR+WVVJ2L+49Ntk2r 5pgXm+Ww4ThfXdvJF6uN2hJON6iS0sKTjQwdJMaZuI5mBO057/Ly0V6VS27tlhLZeIot hvXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si1210136eja.355.2020.07.08.22.20.02; Wed, 08 Jul 2020 22:20:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726196AbgGIFTj (ORCPT + 99 others); Thu, 9 Jul 2020 01:19:39 -0400 Received: from out28-171.mail.aliyun.com ([115.124.28.171]:48617 "EHLO out28-171.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726064AbgGIFTj (ORCPT ); Thu, 9 Jul 2020 01:19:39 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.48121|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.0183385-0.00121183-0.98045;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03310;MF=maochenxi@eswin.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.I-jIyZp_1594271970; Received: from localhost.localdomain(mailfrom:maochenxi@eswin.com fp:SMTPD_---.I-jIyZp_1594271970) by smtp.aliyun-inc.com(10.194.97.171); Thu, 09 Jul 2020 13:19:34 +0800 From: Chenxi Mao To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, chenxi.mao2013@gmail.com, Chenxi Mao Subject: [PATCH 1/1] riscv: Enable ARCH_HAS_FAST_MULTIPLIER for RV64I Date: Thu, 9 Jul 2020 13:19:22 +0800 Message-Id: <20200709051922.13110-1-maochenxi@eswin.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable ARCH_HAS_FAST_MULTIPLIER on RV64I which works fine on GCC-9.3 and GCC-10.1 PS2: remove ARCH_SUPPORTS_INT128 because of RV64I already enabled. Signed-off-by: Chenxi Mao --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 128192e14ff2..84e6777fecad 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -202,6 +202,7 @@ config ARCH_RV64I bool "RV64I" select 64BIT select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 && GCC_VERSION >= 50000 + select ARCH_HAS_FAST_MULTIPLIER select HAVE_DYNAMIC_FTRACE if MMU select HAVE_DYNAMIC_FTRACE_WITH_REGS if HAVE_DYNAMIC_FTRACE select HAVE_FTRACE_MCOUNT_RECORD -- 2.25.1