[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170578499888.24348.15332028365241008797.git-patchwork-notify@kernel.org>
Date: Sat, 20 Jan 2024 21:09:58 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Xiao Wang <xiao.w.wang@...el.com>
Cc: linux-riscv@...ts.infradead.org, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu, anup@...infault.org,
haicheng.li@...el.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: Optimize hweight API with Zbb extension
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@...osinc.com>:
On Sun, 12 Nov 2023 17:52:44 +0800 you wrote:
> The Hamming Weight of a number is the total number of bits set in it, so
> the cpop/cpopw instruction from Zbb extension can be used to accelerate
> hweight() API.
>
> Signed-off-by: Xiao Wang <xiao.w.wang@...el.com>
> ---
> arch/riscv/include/asm/arch_hweight.h | 78 +++++++++++++++++++++++++++
> arch/riscv/include/asm/bitops.h | 4 +-
> 2 files changed, 81 insertions(+), 1 deletion(-)
> create mode 100644 arch/riscv/include/asm/arch_hweight.h
Here is the summary with links:
- riscv: Optimize hweight API with Zbb extension
https://git.kernel.org/riscv/c/55ca8d7aa2af
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists